Anaconda改变了python的环境,但不改变ipython

时间:2015-11-13 17:16:35

标签: python ipython anaconda conda

简而言之:如何使用conda为iPython设置环境?

$ which python
/usr/local/anaconda2/bin/python
$ which ipython
/usr/local/anaconda2/bin/ipython
$ source activate myenv2
discarding /usr/local/anaconda2/bin from PATH
prepending /home/username/.conda/envs/myenv2/bin to PATH
$ which python
/home/username/.conda/envs/myenv2/bin/python
$ which ipython
/usr/bin/ipython

1 个答案:

答案 0 :(得分:1)

需要为每个conda环境单独安装

iPython,例如来自@cel的评论