asdf-python icon indicating copy to clipboard operation
asdf-python copied to clipboard

Error to install some version of python

Open ajsobrino700 opened this issue 1 year ago • 1 comments

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

ajsobrino700 avatar Apr 19 '24 13:04 ajsobrino700

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

meop avatar May 03 '24 06:05 meop