📝

M1 Macでpyenv install 3.12がビルドできないつらいを解決

Date
December 5, 2023 1:22 PM (GMT+9)
Private
用語

🔝TOP > 🚀メモとして書いた系

📝 メモ

pyenv install 3.12-dev
python-build: use [email protected] from homebrew
python-build: use readline from homebrew
Cloning https://github.com/python/cpython...
Installing Python-3.12-dev...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk

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

答えはここにあった

Embed GitHubEmbed GitHub

brew uninstall --ignore-dependencies [email protected]
env CONFIGURE_OPTS='--enable-optimizations' pyenv install 3.12.0
brew install [email protected]

poetry run python --version
Python 3.12.0

🏷️ タグ

🗞 登場した用語まとめ

🔝TOP > 🚀メモとして書いた系