multiple kernel jupyter

Add kernel python3 in jupyter

http://ipython.readthedocs.io/en/stable/install/kernel_install.html

conda create -n ipykernel_py3 python=3 ipykernel
source activate ipykernel_py3    # On Windows, remove the word 'source'
python -m ipykernel install --user

 

After this, still can not use numpy, to install numpy into kernel py3, all the packages are similar

source activate ipykernel_py3

conda install numpy

conda install pandas

 

To install in python2 we do not need to activate just conda install is enough.

 

To see what kernels spec we have here

 jupyter-kernelspec list

But I forgot what kernel name of python2 is, maybe no name (just root)from the sentence info below

conda info --envs

 

 

 

 

 

 

posted @ 2017-01-21 12:04  sumile123  阅读(245)  评论(0编辑  收藏  举报