Description
-
Platform information:
MacBook Air M2 -
OS architecture:
ProductName: macOS
ProductVersion: 14.1.2
BuildVersion: 23B92 -
pyenv version:
pyenv 2.3.35 -
Python version:
3.12.1 -
C Compiler information (e.g. gcc 7.3):
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin -
Please attach the debug trace of the failing command as a gist:
https://gist.github.com/koaps/fdcdda371ff42802aff3bb0a5fbc419d#file-trace-log
- If you have a problem with installing Python, please also attach
config.logfrom the build directory
https://gist.github.com/koaps/fdcdda371ff42802aff3bb0a5fbc419d#file-config-log
Seems I'm failing at linking libHacl_Hash_SHA2.a
ld: archive member '/' not a mach-o file in '/private/var/folders/lg/lytxkwcd143gs3g6ygq9g63c0000gn/T/python-build.20231210171607.12722/Python-3.12.1/Modules/_hacl/libHacl_Hash_SHA2.a'
I installed pyenv_doctor it seems ok
$ pyenv doctor
Cloning /Users/koaps/.pyenv/plugins/pyenv-doctor/bin/.....
Installing python-pyenv-doctor...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use ncurses from homebrew
python-build: use zlib from xcode sdk
Installed python-pyenv-doctor to /var/folders/lg/lytxkwcd143gs3g6ygq9g63c0000gn/T/pyenv-doctor.20231210173044.20846/prefix
Congratulations! You are ready to build pythons!
I was able to do the same process fine on my older Intel Mac.