jupyter notebook 切换kernels(python2.7为例)

conda create -n py27 python=2.7 #下载python2.7
activate py27 #进入python2.7环境
conda install ipykernel #安装内核
ipython kernel install --user

重启jupyter notebook之后就可以在kernel里看到新添加的py27

你可能感兴趣的:(个人总结)