前提・実現したいこと
Python 3.6.5 をインストールしたいです。
Python 3.6.5をインストールしようとした所問題が発生しました。
python-build: use openssl from homebrew python-build: use readline from homebrew Downloading Python-3.6.5.tar.xz... -> https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz Installing Python-3.6.5... 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/58/s3xnq9897yq4588rq5vc759r0000gn/T/python-build.20210512110720.1302 Results logged to /var/folders/58/s3xnq9897yq4588rq5vc759r0000gn/T/python-build.20210512110720.1302.log Last 10 log lines: 1 warning generated. ./Modules/posixmodule.c:10432:5: warning: code will never be executed [-Wunreachable-code] Py_FatalError("abort() called from Python code didn't abort!"); ^~~~~~~~~~~~~ clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/openssl@1.1/include -I/Users/futahomma/.pyenv/versions/3.6.5/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/openssl@1.1/include -I/Users/futahomma/.pyenv/versions/3.6.5/include -DPy_BUILD_CORE -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o 1 warning and 1 error generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/openssl@1.1/include -I/Users/futahomma/.pyenv/versions/3.6.5/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/openssl@1.1/include -I/Users/futahomma/.pyenv/versions/3.6.5/include -DPy_BUILD_CORE -c ./Modules/_sre.c -o Modules/_sre.o clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -I. -I./Include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/openssl@1.1/include -I/Users/futahomma/.pyenv/versions/3.6.5/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/openssl@1.1/include -I/Users/futahomma/.pyenv/versions/3.6.5/include -DPy_BUILD_CORE -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o make: *** [Modules/posixmodule.o] Error 1 make: *** Waiting for unfinished jobs....
該当のソースコード
Terminal
1pyenv install 3.6.5
試したこと
・Homebrewのダウンロード
・Pyenvのインストール
・python公式サイトからのPython3.6.5のダウンロード
・X-codeのインストール
補足情報(FW/ツールのバージョンなど)
Homwbrew,Pyenvは既にダウンロード済みです。
宜しくお願い致します。
回答3件
あなたの回答
tips
プレビュー