pyenv install 3.7.7
% pyenv global 3.7.7 pyenv: version `3.7.7' not installed
homebrewなしで、入れて見る
% pyenv install 3.7.7 /Users/m_fujii/.pyenv/plugins/python-build/bin/python-build: line 1541: brew: command not found /Users/m_fujii/.pyenv/plugins/python-build/bin/python-build: line 1541: brew: command not found Downloading openssl-1.1.0j.tar.gz... -> https://www.openssl.org/source/openssl-1.1.0j.tar.gz Installing openssl-1.1.0j... Installed openssl-1.1.0j to /Users/m_fujii/.pyenv/versions/3.7.7 Downloading readline-8.0.tar.gz... -> https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz Installing readline-8.0... Installed readline-8.0 to /Users/m_fujii/.pyenv/versions/3.7.7 Downloading Python-3.7.7.tar.xz... -> https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tar.xz Installing Python-3.7.7... python-build: use zlib from xcode sdk Installed Python-3.7.7 to /Users/m_fujii/.pyenv/versions/3.7.7
以降は、ミスで、違うものを見ていた。
% python3 Python 3.7.3 (default, Mar 6 2020, 22:34:30) [Clang 11.0.3 (clang-1103.0.32.29)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> exit()