mac python 切换系统默认版本

1 找到所安装python路径/usr/local/Cellar/python/2.7.13/bin
2 vim ~/.bash_profile
3 添加如下代码:
PATH="/usr/local/Cellar/python/2.7.13/bin:${PATH}"
export PATH
4 保存退出 ,
5 source ~/.bash_profile

原文地址:https://www.cnblogs.com/xqnq2007/p/6606659.html