Can't install any ARM version of python #2878
Replies: 3 comments 2 replies
-
https://github.com/search?q=repo%3Apyenv%2Fpyenv+died+with+%3CSignals.SIGABRT%3A+6&type=issues , in particular, #2707 and #2815 (comment) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. I went through those carefully and went through the "Common Build Problems" wiki, in addition to reinstalling Xcode, Homebrew, pyenv, and all sorts of compiler and linker flag settings. Forgive my ignorance as I'm probably screwing up those settings in some way. I can't tell if I've made forward progress or reverse progress but I'm now getting these common two errors but can't seem to solve them after 3 days of working on this:
Is the "Python ssl extension" separate from the one I'm referring to in my install command? I'm confused. Install command:
The initial response from this is:
So, it obviously sees those libraries. My environment looks like this:
And my .zshrc file looks like this:
I shouldn't put the CPPFLAGS and LDFLAGS in my zsh profile, I realize, but I'm grasping at straws at this point. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Solution-- I realized that each library I added to Homebrew would then trigger a "missing module" error during the install process, counter-intuitively. I simply removed all those libraries from Homebrew, which forced the download of them during the install process and the install proceeded smoothly. The question remains: What is happening between Pyenv and Homebrew to cause this counterintuitive behavior? |
Beta Was this translation helpful? Give feedback.
-
I'm using homebrew tcl-tk, readline, openssl, zlib, and gcc.
pyenv: 2.3.35
Mac OS: 14.2.1
Homebrew: 4.22
CC=gcc pyenv install 3.10.13
python-build: use [email protected] from homebrew
python-build: use readline from homebrew
Downloading Python-3.10.13.tar.xz...
-> https://www.python.org/ftp/python/3.10.13/Python-3.10.13.tar.xz
Installing Python-3.10.13...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use zlib from homebrew
...
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/private/var/folders/xk/vp0pdf492tl589vtnykls31r0000gn/T/python-build.20240101224952.75879/Python-3.10.13/python.exe', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = ['/var/folders/xk/vp0pdf492tl589vtnykls31r0000gn/T/tmpk0lwgq2z/setuptools-65.5.0-py3-none-any.whl', '/var/folders/xk/vp0pdf492tl589vtnykls31r0000gn/T/tmpk0lwgq2z/pip-23.0.1-py3-none-any.whl'] + sys.path\nsys.argv[1:] = ['install', '--no-cache-dir', '--no-index', '--find-links', '/var/folders/xk/vp0pdf492tl589vtnykls31r0000gn/T/tmpk0lwgq2z', '--root', '/', '--upgrade', 'setuptools', 'pip']\nrunpy.run_module("pip", run_name="main", alter_sys=True)\n']' died with <Signals.SIGABRT: 6>.
make: *** [install] Error 1
Suggestions?
Beta Was this translation helpful? Give feedback.
All reactions