前提・実現したいこと
pyenvから新しいバージョンのPythonをインストールしようとすたのですがうまくいきませんでした。
発生している問題・エラーメッセージ
python-build: use openssl@1.1 from homebrew python-build: use readline from homebrew Downloading Python-3.8.6.tar.xz... -> https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tar.xz Installing Python-3.8.6... python-build: use readline from homebrew python-build: use zlib from xcode sdk BUILD FAILED (OS X 11.0.1 using python-build 20180424) Inspect or clean up the working tree at /var/folders/6h/_b3n97yn7t183s9wtxj8x8c00000gn/T/python-build.20201128165129.38529 Results logged to /var/folders/6h/_b3n97yn7t183s9wtxj8x8c00000gn/T/python-build.20201128165129.38529.log Last 10 log lines: checking for python3.8... python3.8 checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... "darwin" checking for gcc... clang checking whether the C compiler works... no configure: error: in `/var/folders/6h/_b3n97yn7t183s9wtxj8x8c00000gn/T/python-build.20201128165129.38529/Python-3.8.6': configure: error: C compiler cannot create executables See `config.log' for more details make: *** No targets specified and no makefile found. Stop.
該当のソースコード
pyenv install 3.8.6