创建环境
conda create -n d2lv2 python==3.7

激活环境
conda activate d2lv2

安装 ipykernel
pip install ipykernel

注册内核
python -m ipykernel install --name d2lv2

查看内核
jupyter kernelspec list
删除内核
jupyter kernelspec remove kernelname

原创
如何给 jupyter 增加新的 python 内核?
本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。