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
import subprocess
File "/private/var/folders/ct/5z32007s04z29v36fhnqq21c0000gn/T/python-build.20240527190531.53055/Python-3.10.14/Lib/subprocess.py", line 74, in
import _posixsubprocess
ModuleNotFoundError: No module named '_posixsubprocess'
make: *** [install] Error 1
```
Expected Behaviour
Expected to install the python version without problems.
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
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
``` 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, inExpected Behaviour
Expected to install the python version without problems.