You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build fails with this error ModuleNotFoundError: No module named '_posixsubprocess'
Full backtrace
python-build 3.10.14 /Users/mateo/.asdf/installs/python/3.10.14
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.10.14.tar.xz...
-> https://www.python.org/ftp/python/3.10.14/Python-3.10.14.tar.xz
Installing Python-3.10.14...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
BUILD FAILED (OS X 14.1.1 using python-build 2.4.1-2-g0e0ca096)
Inspect or clean up the working tree at /var/folders/ct/5z32007s04z29v36fhnqq21c0000gn/T/python-build.20240527190531.53055
Results logged to /var/folders/ct/5z32007s04z29v36fhnqq21c0000gn/T/python-build.20240527190531.53055.log
Last 10 log lines:
File "/private/var/folders/ct/5z32007s04z29v36fhnqq21c0000gn/T/python-build.20240527190531.53055/Python-3.10.14/Lib/runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/private/var/folders/ct/5z32007s04z29v36fhnqq21c0000gn/T/python-build.20240527190531.53055/Python-3.10.14/Lib/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/private/var/folders/ct/5z32007s04z29v36fhnqq21c0000gn/T/python-build.20240527190531.53055/Python-3.10.14/Lib/ensurepip/__init__.py", line 4, in <module>
import subprocess
File "/private/var/folders/ct/5z32007s04z29v36fhnqq21c0000gn/T/python-build.20240527190531.53055/Python-3.10.14/Lib/subprocess.py", line 74, in <module>
import _posixsubprocess
ModuleNotFoundError: No module named '_posixsubprocess'
make: *** [install] Error 1
Expected Behaviour
Expected to install the python version without problems.
The text was updated successfully, but these errors were encountered:
I solved this by doing export ARCHFLAGS="-arch arm64" as mentioned here #118, but I don't know why it worked cause I don't have an Intel Chip but Apple Silicon one. Leaving this open for explanations if possible
Provide environment information
OS: Darwin Mateos-MacBook-Pro.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct 9 21:32:52 PDT 2023; root:xnu-10002.41.9~7/RELEASE_ARM64_T8122 arm64 SHELL: zsh 5.9 (x86_64-apple-darwin23.0) BASH VERSION: 3.2.57(1)-release ASDF VERSION: v0.14.0-ccdd47d ASDF INTERNAL VARIABLES: ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions ASDF_DATA_DIR=/Users/mateo/.asdf ASDF_DIR=/Users/mateo/.asdf ASDF_CONFIG_FILE=/Users/mateo/.asdfrc ASDF INSTALLED PLUGINS: python https://github.com/danhper/asdf-python.git master 5e277e2 ruby https://github.com/asdf-vm/asdf-ruby.git master a4c7dc7
To Reproduce
I just ran
asdf install python latest:3.10
.Describe the Bug
Build fails with this error
ModuleNotFoundError: No module named '_posixsubprocess'
Full backtrace
Expected Behaviour
Expected to install the python version without problems.
The text was updated successfully, but these errors were encountered: