How to install multiple ipython 3.0 cores (python 2.7, python 3.4, etc.) with anaconda under linux?

Ipython 3.0 (Jupyter) allows you to choose which kernel (python 2.7, python 3.4, etc.) to use when creating a new ipython laptop. How can I install multiple ipython laptop cores in Continuum Anaconda?

+7
python ipython ipython-notebook jupyter anaconda
source share
2 answers

You will want to create separate condos for Python 2 and 3 (see information elsewhere on how to do this), with IPython installed in both of them. Then in each environment run:

ipython kernelspec install-self 

This registers this kernel, so IPython can see it from outside the environment.

If you need more kernels for different environments, look at the files in ~/.ipython/kernels for how to describe them.

+8
source share

install-self deprecates: https://github.com/jupyter/jupyter/issues/23

 install-self [DEPRECATED] Install the IPython kernel spec directory for this Python. 

Try

 python -m ipykernel install --user --display-name "Python (current_env)" source activate myenv python -m ipykernel install --user --name myenv --display-name "Python (myenv)" 

instead.

Link: http://ipython.readthedocs.org/en/stable/install/kernel_install.html

+2
source share

All Articles