Closed
Description
openedon May 17, 2021
The OS comes with 3.9.5 installed.
It is possible that 3.8.10 will be released with a fix for Apple M1.
pyenv install 3.9.4
works.
We might need to wait for a new release of pyenv that includes 3.8.10.
There's also some hackery here:
https://stackoverflow.com/questions/65349982/issues-installing-python-3-x-via-pyenv
❯ make setup-pyenv
Installing Python (if missing) via pyenv
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.6.13.tar.xz...
-> https://www.python.org/ftp/python/3.6.13/Python-3.6.13.tar.xz
Installing Python-3.6.13...
patching file Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst
patching file configure
Hunk #1 succeeded at 3375 (offset -51 lines).
patching file configure.ac
Hunk #1 succeeded at 495 (offset -15 lines).
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
BUILD FAILED (OS X 11.2.3 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/j1/d109sd4n55qbk5ty8gzq5jgm0000gn/T/python-build.20210517064348.22020
Results logged to /var/folders/j1/d109sd4n55qbk5ty8gzq5jgm0000gn/T/python-build.20210517064348.22020.log
Last 10 log lines:
checking for long double support... yes
checking size of long double... 8
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
configure: error: Unexpected output of 'arch' on OSX
make[1]: *** No targets specified and no makefile found. Stop.
make: *** [setup-pyenv] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment