编辑.bash_profile文件添加如下:
PYTHON_HOME=/Library/Frameworks/Python.framework/Versions/3.5 export PATH=$PATH:$PYTHON_HOME/bin alias python=${PYTHON_HOME}/bin/python3
编辑.bash_profile文件添加如下:
PYTHON_HOME=/Library/Frameworks/Python.framework/Versions/3.5 export PATH=$PATH:$PYTHON_HOME/bin alias python=${PYTHON_HOME}/bin/python3