简体   繁体   中英

Anaconda using Using both Python 2.x and Python 3.x in IPython Notebook

using the instructions here Using nb_conda_kernels I almost have it going,, but I seem to have only the very basic Python Interpreter in my environments. What I want is a full Anaconda environment for each version of Python, with all the libraries? How can I do that?

What you probably want to do is to create a environment with some predefined set of packages. From the command line, and possibly outside any conda environment, try something like ( py2 can indeed any name you want):

conda create --name py2 python=2 anaconda

See http://conda.pydata.org/docs/help/help.html for more details, or for a quick look: http://conda.pydata.org/docs/_downloads/conda-cheatsheet.pdf

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