-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation error #10
Comments
Hi Claire, I found the following thread online that might help: not sure if it's the same issue, but it loks it might be with your local anaconda isntallation. They suggest several solutions: b) installing the python3 development tools: on centos: not sure what is the package in ubuntu, sorry c) try to install bottleneck manually:
d) downgrade pip
Cheers |
thanks Jorge. I tried all this, but it failed. |
hum, sorry, just notivced you're using a mac. Could this help? https://ma.ttias.be/mac-os-xcrun-error-invalid-active-developer-path-missing-xcrun/ Cheers |
You are right, it worked for bottleneck. |
About the clone github, I had the same issue, and it was just a matter of re-linking my gihut account on my lixnu account. NOt sure for Mac, but it should be similar. This helped me setting it up: https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh Good luck! |
So two things to add to the comments from Jorge
|
I got the following error when running the installation script:
...
Building wheels for collected packages: bottleneck
Building wheel for bottleneck (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Users/clairemoutou/anaconda3/envs/lbl-env/bin/python /Users/clairemoutou/anaconda3/envs/lbl-env/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/03/70tg67hj12ggjmcwh0kr8jrr0000gn/T/tmpj0c1x8zl
...
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/clairemoutou/anaconda3/envs/lbl-env/include -arch x86_64 -I/Users/clairemoutou/anaconda3/envs/lbl-env/include -arch x86_64 -c _configtest.c -o _configtest.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
failure.
removing: _configtest.c _configtest.o
building 'bottleneck.reduce' extension
creating build/temp.macosx-10.9-x86_64-3.8
creating build/temp.macosx-10.9-x86_64-3.8/bottleneck
creating build/temp.macosx-10.9-x86_64-3.8/bottleneck/src
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/clairemoutou/anaconda3/envs/lbl-env/include -arch x86_64 -I/Users/clairemoutou/anaconda3/envs/lbl-env/include -arch x86_64 -I/private/var/folders/03/70tg67hj12ggjmcwh0kr8jrr0000gn/T/pip-build-env-j3shnh7p/overlay/lib/python3.8/site-packages/numpy/core/include -I/Users/clairemoutou/anaconda3/envs/lbl-env/include/python3.8 -Ibottleneck/src -c bottleneck/src/reduce.c -o build/temp.macosx-10.9-x86_64-3.8/bottleneck/src/reduce.o -O2
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command 'gcc' failed with exit status 1
ERROR: Failed building wheel for bottleneck
Failed to build bottleneck
ERROR: Could not build wheels for bottleneck which use PEP 517 and cannot be installed directly
Any clue?
The text was updated successfully, but these errors were encountered: