简体   繁体   中英

How to install Anaconda in virtual environment of conda.

I installed anaconda3 and for using python2 with Jupyter-notebook I made a virtual environment py27 and made ipython kernel in that environment now I see an option to choose python2 or python2 kernel in Ipython notebook. Now when I use python2 kernel it has no packages in it( obviously I didnt installed any in environment py27 ). My question is how can I install anaconda2 in the virtual environment py27.

After activating the environment with

on Linux/MacOS:

source activate py27

or on Windows:

activate py27

just type:

conda install anaconda

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