如何向Jupyter Notebook里添加已经建好的内核

首先,确保python3环境下安装了ipykernel
控制台:
pip3 install ipykernel

然后在python3的python.exe所在目录下执行:
python -m ipykernel install --user --name ×××
(×××是已经建好的虚拟环境)

查看当前kernel:
jupyter kernelspec list

删除kernel:
jupyter kernelspec remove ×××

解决permission denied的方法:加上–user
如何向Jupyter Notebook里添加已经建好的内核_第1张图片

你可能感兴趣的:(一些探索,jupyter)