Mac安装Anaconda3后命令行提示没有conda

我使用的命令行是zsh,因此:
在文件.zshrc中写入:
export PATH="/anaconda3/bin:$PATH"

命令行下更新文件:
source .zshrc

测试conda命令,成功
然后命令行写python,发现版本已经切换到了python3

参考:
http://blog.csdn.net/qq_16735407/article/details/50561144

posted @ 2018-02-28 11:25  4645  阅读(739)  评论(0编辑  收藏  举报