Skip to content

Instantly share code, notes, and snippets.

@germanviscuso
Created December 30, 2018 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save germanviscuso/6ff400d934c86f1095980e890b6e3fba to your computer and use it in GitHub Desktop.
Save germanviscuso/6ff400d934c86f1095980e890b6e3fba to your computer and use it in GitHub Desktop.
Manage multiple versions of Python (Mac OSX)
brew install pyenv
cd
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
pyenv install -l | grep -ow [0-9].[0-9].[0-9]
pyenv install 3.7.1
pyenv versions
pyenv local 3.7.1
pyenv global 3.7.1
python -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment