简体   繁体   中英

Anaconda changes environment for python, but not ipython

In short: How do I set the environment for iPython with conda?

$ 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

iPython需要必须另外安装的每个畅达环境,通过从@cel评论

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM