jupyter conda使用中遇到的问题

You can make Python 3.5 environment with your Anaconda 2.7:

conda create -n py35 python=3.5
Now, activate it:

activate py35
Finally you can install the desired packages:

conda install numpy

安装py36内核,并安装jupyter py36 kernal

conda create -n py36 python=3.6
source activate py36
anaconda2/envs/py36/bin/pip install ipykernel

jupyter kernelspec list
source deactivate
jupyter kernelspec list
jupyter kernelspec install /notebooks/anaconda2/envs/py36/share/jupyter/kernels/python3

image.png

我们环境管理用的conda,conda的env和jupyter用的ipython kernel没打通。。
https://github.com/jupyter/jupyter/issues/245
https://github.com/jupyter/notebook/issues/2563

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容