homebrewとpyenvを用いたpythonの環境構築中でエラーが出てしまいました。python3.9.0のインストールがうまく行かないのでご教授願います。
co@RyunosukenoMacBook-Pro ~ % pyenv install 3.9.0
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.9.0.tar.xz...
-> https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz
Installing Python-3.9.0...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
BUILD FAILED (OS X 11.1 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/hy/yj7ywyss2h5fwjkmrlc7gvjw0000gn/T/python-build.20201231235535.14174
Results logged to /var/folders/hy/yj7ywyss2h5fwjkmrlc7gvjw0000gn/T/python-build.20201231235535.14174.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.
co@RyunosukenoMacBook-Pro ~ % pyenv versions
- system (set by ”/Users/co/.pyenv”/version)
co@RyunosukenoMacBook-Pro ~ %
追記: M1用のバイナリを使用したいです。よろしくお願いします。
回答3件
あなたの回答
tips
プレビュー