-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Python 2.7.18 install fails on Mac OS X Sonoma (14.5) #2963
Comments
Please also attach config.log |
Bundled
Apple Silicon in ARM64 (AArch64) but reports itself as " The best option seems to compile for x64 (which would need x64 Homebrew for dependencies). |
This seems to be the upstream issue: libffi/libffi#571 |
But this should be irrelevant since our downstream patches make 2.7.18 use system libffi. config.log may clarify what's happening |
@native-api thank you for your help 🙏 Here are the files gists : |
This toolchain may not have libffi headers. The recommended setup is to use the XCode Command Line Tools toolchain. Make sure that you have XCode Command line tools installed with
this is a big no-no as it conflicts with Apple's toolchain, see https://github.com/pyenv/pyenv/wiki/Common-build-problems#keg-only-homebrew-packages-are-forcibly-linked--added-to-path I fact, this may be the root cause, as it overrides the toolchain's assembler IIRC. |
Thank you for your research and your patience @native-api ! I removed the XCode Command Line Tools were indeed installed, but Now, when I try to install Python, I get But the error is still the same as in my first post 😞 If it can help, here are my installed Brew formulaes :
|
Could you attach the new logs? |
Other suspicious things in config.log were:
These should not be needed (and may even hurt). I suspected that you only set this envvar temporarily when trying different things and ultimately removed. But I think I should mention it regardless just in case. |
I removed all the "**_FLAGS" exports and the Homebrew |
For some reason, the logic in You may try to force it to by setting To get to the root cause, I suggest to run installation with As another workaroud, I still suggest trying to install this for x64. I see in |
Python 2.7.18 install fails on Mac OS X Sonoma (14.5) with traceback :
trace.log
file is here : https://gist.github.com/laulaz/58b3eb618607a92c082f288a37573ce7Thank you for your help 🙏
Prerequisite
pyenv
and the defaultpython-build
plugin only. Please refrain from reporting issues of other plugins here.Description
config.log
from the build directory/tmp
.env PYENV_DEBUG=1 pyenv install -f -k -v <version> 2>&1 | tee trace.log
config.log
from the build directory. When usingpyenv install
with-k
as per above, the build directory will be under$PYENV_ROOT/sources
.The text was updated successfully, but these errors were encountered: