1.安装jupyter notebook
首先进入虚拟环境JKL
输入 pip install jupyter notebook -i https://pypi.tuna.tsinghua.edu.cn/simple/
这里使用清华镜像,加快安装速度
安装完成后,输入jupyter notebook,即可打开
2.添加内核
假如我想要添加名为JKL的虚拟环境
(1)cmd
(2)activate JKL
(3)python -m ipykernel install --user --name=JKL
重新进入jupyter notebook 即可
3.修改jupyter notebook的默认浏览器和默认代码存储位置,可参考以下链接