-
Notifications
You must be signed in to change notification settings - Fork 59
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
Build failure on Mac OS Catalina 10.15.7 and Python 3.8.2 #113
Comments
Could you try installing from source? I might need to add more distributions to our CI/CD. Sorry, didn't mean to close it. |
I tried installing from source:
|
@sunshineinsandiego Try |
Same errors as when trying to install via pip:
|
@bdice do you think this could be related to the robinhood changes we just merged? |
@sauln I don't think so, but it's possible. I was able to install with $ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ python --version
Python 3.8.2
$ cython --version
Cython version 0.29.16 @sunshineinsandiego Can you run those commands and provide version information? Also, can you provide the output of |
I am not trying to cross-compile, just trying to install with python3 on a ~2015 Macbook Air. It's possible there is something wonky going on given I just upgraded to Catalina. Thanks for your help!
|
@sunshineinsandiego I’m not sure what is wrong. You might try installing the package with pip or conda instead of from source, or try creating a conda environment and installing the package into that environment instead of your system’s user packages. |
I see that you cython is installed into a I just installed the library into a virtual environment with Python 3.8.3 on Catalonia and there were no problems. |
Hi everyone, sorry I could not be involved earlier, I'm under too much work (Yay !).
Robinhood is disable by default, and without downloading the required folder, it shouldn't be enable. Looking about this problem, I found the following: It seems the issue has been encountered on other libraries, as I understood, the same problem was encountered here. And apparently, there's a problem with the python shipped with XCode. In order to resolve the problem, it's necessary to uninstall the current Python version and install the one provided directly at python.org Hopefully this fixes the current issue, let me know if this doesn't fix the problem. Best, |
Good find @MonkeyBreaker. That would support my hypothesis about an unexpected cross-compilation. 😄 Using a non-system Python (e.g. from python.org, brew, or conda) should help. |
Hi - This post is really directed at the thread Unable to build on macOS with Xcode 12: architecture not supported when building watchdog #3770 But that is closed - with a solution. This thread seems similar and I hope it’s ok to raise this issue here. This post will make sense if cross referred to the other thread. I’m experiencing the same Python related build issues on 10.15.7 with Planetary System Stacker and have been directed to the above page for help. I am a noob in these waters and could do with some extra guidance please. I installed the CL Tools from the App Store and my terminal shows: % which python % python --version % python3 --version % which python3 % which clang % clang --version Finder searches show multiple files and folders for python - I have versions 2.7, 3.6, 3.8.2 and now 3.9 in various locations. Cannot find a way to list them simply from Finder or terminal. My take on the discussion in the closed thread so far is: 1 Download and install Py3.9 - done. Py3.9 is installed on my machine at Mac/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9. I have “Python 3.9” in my Applications folder (not ~/Applications), where I also have “IDLE.app” and “Python Launcher.app”. Not clear when I would ever launch these, but there they are. 2 ddeville says “Can you check your path (and/or do which python3) and make sure that it's in fact picking the one you've installed from python.org and symlinked in /usr/local/bin?” Is that symlink necessary? Does it make any difference that Python 3.9 is listed under /Applications and /Library, and not ~/Applications and ~/Library? If the symlink is required, how is it done? 3 rwmitchell says “So focused on python, overlooked what python3 was doing. Fixed pathing to find 3.9 first and all is better.” How is that done? I noted the ‘lb’ command in the screenshots, but: % lb python 4 Should I remove the other versions of python? How? 5 Do I need to do anything with Xcode to get it to use 3.9 automatically in the future? Many thanks for any help. |
Closing as out of date. |
Hi - Tried to install
ripser
and building wheels failed withunsupported architecture
possibly related toPEP 517
CL output below:
Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: