Closed lucasgautheron closed 2 years ago
I suggest to:
rm -rf ~/ChildProjectVenv
)python3 -m venv ~/ChildProjectVenv
source ~/ChildProjectVenv/bin/activate
pip3 install git+https://github.com/LAAC-LSCP/ChildProject.git
If that does not work, another proposed solution is to replace all of the previous steps by the following:
brew install scipy
deactivate
pip3 install git+https://github.com/LAAC-LSCP/ChildProject.git
and if you are having permission issues still:
rm -rf ~/ChildProjectVenv
python3 -m venv ~/ChildProjectVenv
source ~/ChildProjectVenv/bin/activate
pip3 install git+https://github.com/LAAC-LSCP/ChildProject.git
Thanks @lucasgautheron! Unfortunately I still am not able to install. Please see the attached error output (solution1 = trying to follow the linked instructions at the top of your comment; solution2 = your "If that does not work" suggestion below that). I am not getting to the point of installing the virtual env. Thanks in advance for any additional advice you may have! (note that deactivate
didn't do anything for me on the second solution)
error_output-mcasillas-20210924-solution1.txt error_output-mcasillas-20210924-solution2.txt
Hello,
Thank you for trying; It seems like there's a lot of people encountering similar issues, e.g. : https://github.com/scipy/scipy/issues/13409 or https://stackoverflow.com/questions/61365790/error-could-not-build-wheels-for-scipy-which-use-pep-517-and-cannot-be-installe There's a chance the problem might be solvable by trial and error... I would suggest to try :
brew install lapack
pip3 install --upgrade pip
pip3 install scipy
If that fails, maybe we'll have to dive into https://github.com/scipy/scipy/issues/13409 what is your version of MacOS by the way? which architecture too?
hi all, just to let you know, I've also been getting this wheel's failure error, as has Camila when I was walking her through installation last week, both on mac. We just continued and everything we've done with the package so far has worked. So perhaps one can just power through this one? (I do admit there was one operation, I don't remember which, where the output said something like "using XXX because wheels not available" -- so this may compromise reproducibility)
Hi,
Unfortunately I don't think so.
If you look at Camila's logs, you can see that pip install
ignores or overcomes the errors by itself.
Here, it won't even proceed to the installation, it fails during the collection phase (apparently).
I also encountered this problem with Python 3.8.8. I was able to circumvent the problem by creating a conda environment with Python 3.6 instead, after which pip3 install ChildProject went all smoothly.
I'm running MacOS 11.16
Thanks for the feedback!
I am in the process of creating a conda recipe for the package; however, there are still a few dependencies that are not available through conda, so I don't expect it to happen very soon!
In the meantime, this suggests a potential solution to @Marisa Casillas @.***>
However, I am not which the features of the package are supported on (Mac, python 3.6); only 3.7+ is 'guaranteed' to work through automated tests on Linux and Mac.
Le lun. 4 oct. 2021 à 12:02, orasanen @.***> a écrit :
I also encountered this problem with Python 3.8.8. I was able to circumvent the problem by creating a conda environment with Python 3.6 instead, after which pip3 install ChildProject went all smoothly.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LAAC-LSCP/ChildProject/issues/286#issuecomment-933331708, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI4QHQ3CWSSVDUD33YWCB3UFF3UTANCNFSM5ECZB7KA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Lucas Gautheron 06 79 23 86 47
Laboratoire de Sciences Cognitives et Psycholinguistique Bureau 414 - 29 rue d'Ulm 75005 Paris
@marisacasillas, would you like to try these installation instructions ?
https://childproject.readthedocs.io/en/latest/install.html#macos-users
🙌 I was able to install! I had to build git-annex, as in brew install --build-from-source git-annex
but otherwise it seems to be good! I haven't yet had time to try and install a dataset or play around in GIN but I am hopeful now :)
Thank you!
Great news!
Thanks for the tip about git-annex. Added that to the FAQs.