1,which python3.7
2,vim ~/.bash_profile
3,
#setting path for python3.7
PATH=”/usr/local/bin:${PATH}”
export PATH
PATH=”/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}”
export PATH
alias python="/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7"
alias pip="/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3.7"
4,
source ~/.bash_profile
标签:bin,Python,framework,python,Versions,3.7,mac,PATH,环境变量 From: https://www.cnblogs.com/IceSparks/p/16727831.html