Created
June 3, 2020 10:09
-
-
Save joshuachinemezu/c741c146e4ce4d2142d9cf9d0c014b7e to your computer and use it in GitHub Desktop.
Upgrades macos default python to python3
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 | |
pyenv install 3.7.3 | |
pyenv global 3.7.3 | |
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc | |
source .zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment