asdf-community / asdf-python

Python plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
643 stars 55 forks source link

Error to install some version of python #184

Open ajsobrino700 opened 2 months ago

ajsobrino700 commented 2 months ago

Provide environment information

I am working with MacOs with M2 like a microprocessor and OS X 14.4.1

To Reproduce

asdf install python 3.8.0

Describe the Bug

python-build 3.8.0 /Users/antonio.sobrino/.asdf/installs/python/3.8.0 python-build: use openssl from homebrew python-build: use readline from homebrew Downloading Python-3.8.0.tar.xz... -> https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz Installing Python-3.8.0... python-build: use readline from homebrew python-build: use ncurses from homebrew python-build: use zlib from xcode sdk

BUILD FAILED (OS X 14.4.1 using python-build 2.4.0-2-ge1f07da7)

Inspect or clean up the working tree at /var/folders/05/5yqctn7d6lg2dwnf85d6sd_m0000gs/T/python-build.20240419152236.12916 Results logged to /var/folders/05/5yqctn7d6lg2dwnf85d6sd_m0000gs/T/python-build.20240419152236.12916.log

Last 10 log lines: checking size of _Bool... 1 checking size of off_t... 8 checking whether to enable large file support... no checking size of time_t... 8 checking for pthread_t... yes checking size of pthread_t... 8 checking size of pthread_key_t... 8 checking whether pthread_key_t is compatible with int... no configure: error: Unexpected output of 'arch' on OSX make: *** No targets specified and no makefile found. Stop.

Expected Behaviour

Install python version

meop commented 2 months ago

Python 3.8.0 install scripts do not support Apple M1/M2/M3. Python 3.8.10 or later do:

https://stackoverflow.com/questions/65457674/unexpected-output-of-arch-on-osx-using-mac-m1-installing-elastic-beans