conda create -n env_name python=3.6

source activate env_name

在root的环境(装jupyter的那个环境):

conda install nb_conda

# 重新启动
jupyter notebook

使用jupyter就可以方便的切换kernel了

如何在Jupyter Notebook中切换kernel(切换虚拟环境)

相关文章: