一、Mac系统自带pythonpython
二、用户安装的pythonbash
3 、更改系统环境变量~/.bash_profile,添加下面内容io
export PATH=/Library/Frameworks/Python.framework/Versions/3.6/bin:$PATH
alias python="/Library/Frameworks/Python.framework/Versions/3.6/bin/python3"变量
四、更改PyCharm python版本file
preferences > project:xxxx > project interpreterim