参考https://zhuanlan.zhihu.com/p/25198543,https://github.com/Anaconda-Platform/nb_conda_kernels
首先在安装有jupyter notebook的kernel环境中安装nb_conda_kernels,使用命令
conda install nb_conda_kernels
对于想要使用jupyter notebook访问的内核必须安装ipykernel包:
对于一个已经存在的虚拟conda环境env_name,使用如下命令
conda install -n env_name ipykernel
对于创建一个新的conda环境时,同时添加内核使用如下命令:
conda create -n env_name python=3.6 ipykernel
注意它与很多包不兼容,比如nbconvert等