Let's read the head family.
Install pyenv
brew install pyenv
Added to .zshrc
export PATH="$HOME/.pyenv/bin:$PATH"
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
Search for installation target
pyenv install --list
Installation
pyenv install anaconda3-2.5.0
Confirm that it has been installed
pyenv versions
Set to global
pyenv global anaconda3-2.5.0
Check python version
python --version
Recommended Posts