Notes on installing Python on Mac
#Install pyenv
brew install pyenv
#Avoiding zlib errors
xcode-select --install
#Check the Python version that can be installed
pyenv install -l
#python3 series installation
pyenv install 3.5.2
pyenv rehash
pyenv global 3.5.2
#PATH setting
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
Recommended Posts