brew install pyenv
brew install pipenv
Added to .bash_profile or .zshrc
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
source ~/.bash_profile
source ~/.zshrc
Run one of
Python
pyenv install -l
pyenv install 3.8.5
pyenv global 3.8.5
Exit the terminal and start it again
Make sure it is 3.8.5 with python --version
Recommended Posts