jpyter_notebook 多环境切换
问题
尝试 jupyter notebook
开机自启动,但是启动的确实默认的 base
huanjing。
方案
在默认的环境下安装 nb_conda_kernels
conda install nb_conda_kernels
环境查看
python -m nb_conda_kernels.install -v --enable
python -m nb_conda_kernels list
jupyter kernelspec list
推荐安装包
conda install ipyparallel
Reference:
- Your Users. (2021) kernels visible to conda but not to jupyter · Issue #185 · Anaconda-Platform/nb_conda_kernels. Retrieved March 17, 2021, from https://github.com/Anaconda-Platform/nb_conda_kernels/issues/185