vim ~/.bash_profile
加入
alias python=”/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.6″
alias pip=”/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3.6″:
:wq
保存
source ~/.bash_profile
搞定!
试试python 出来3.6
pip出来对应版本,yeap!