其实是因为你没有加路径 执行一条: export PATH=$PATH:/usr/local/miniconda2/bin 就OK啦! 额~ 其实还不行,你要给conda加一个软链接. 转换python2和3要创建虚拟环境.