Невозможно установить python 3.6.8 с помощью pyenv -Build Failed OSX Error - PullRequest
1 голос
/ 24 апреля 2020

Я пытаюсь установить более старую python версию 3.6.8 в мой macbook, используя pyenv. К сожалению, я столкнулся с этой ошибкой сборки OS X, которую я не могу устранить. Спасибо, если кто-нибудь знает, как мне решить эту проблему, спасибо.

(base) ➜  ~ pyenv install 3.6.8
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.6.8.tar.xz...
-> https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
Installing Python-3.6.8...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 10.14.6 using python-build 20180424)

Inspect or clean up the working tree at /var/folders/cn/d7tn5tls0jg6_dyn2853t6p40000gn/T/python-build.20200424220226.47493
Results logged to /var/folders/cn/d7tn5tls0jg6_dyn2853t6p40000gn/T/python-build.20200424220226.47493.log

Last 10 log lines:
checking for --with-universal-archs... no
checking MACHDEP... darwin
checking for --without-gcc... no
checking for --with-icc... no
checking for gcc... x86_64-apple-darwin13.4.0-clang
checking whether the C compiler works... no
configure: error: in `/var/folders/cn/d7tn5tls0jg6_dyn2853t6p40000gn/T/python-build.20200424220226.47493/Python-3.6.8':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
...