首页 > 代码库 > multiple kernel jupyter

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

<style>p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px "Andale Mono"; color: #29f914; background-color: #000000 } span.s1 { }</style>

source activate ipykernel_py3

<style>p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px "Andale Mono"; color: #29f914; background-color: #000000 } span.s1 { }</style>

conda install numpy

<style>p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px "Andale Mono"; color: #29f914; background-color: #000000 } span.s1 { }</style>

conda install pandas

multiple kernel jupyter