Created
May 13, 2019 02:11
-
-
Save t-eckert/8a7432b44214ede8b1a39b82a0ea1af7 to your computer and use it in GitHub Desktop.
Bash profile for multiple Python versions (py3x -> Python 3.x) [MacOS only]
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
# == Add Python Aliases and Paths ========================================================== | |
# Python 3.6 | |
alias py36="/Library/Frameworks/Python.framework/Versions/3.6/bin/Python3.6" | |
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}" | |
export PATH | |
# Python 3.7 | |
alias py37="/Library/Frameworks/Python.framework/Versions/3.7/bin/Python3.7" | |
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}" | |
export PATH | |
# Python 3.8 | |
alias py38="/Library/Frameworks/Python.framework/Versions/3.8/bin/Python3.8" | |
PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:${PATH}" | |
export PATH | |
# ============================================================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment