如何在Jupyter Notebook切换conda环境

1.  在你的jupyter notebook环境安装nb_conda_kernels

conda install -n notebook_env nb_conda_kernels

2. 如果你用的python,在你要导入的conda环境下安装ipykernel

conda install -n python_env ipykernel

3. 如果你用的R,则

conda install -n r_env r-irkernel

4. 启动Jupyter Notebook

from: https://github.com/Anaconda-Platform/nb_conda_kernels

发布了55 篇原创文章 · 获赞 22 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/li_k_y/article/details/103940106