Created
December 30, 2018 16:49
-
-
Save germanviscuso/6ff400d934c86f1095980e890b6e3fba to your computer and use it in GitHub Desktop.
Manage multiple versions of Python (Mac OSX)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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