~ $ pyenv install 3.9.6
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.9.6.tar.xz...
-> https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tar.xz
Installing Python-3.9.6...
patching file Misc/NEWS.d/next/Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst
patching file configure
patching file configure.ac
python-build: use readline from homebrew
python-build: use zlib from Xcode sdk
Installed Python-3.9.6 to /Users/yukichi/.pyenv/versions/3.9.6
インストールを確認
~ $ pyenv versions
* system (set by /Users/yukichi/.pyenv/version)
3.9.6
バージョンを切り替えます
~ $ pyenv global 3.9.6
~ $ pyenv versions
system
* 3.9.6 (set by /Users/yukichi/.pyenv/version)
コメント