入门

Jupyter Notebook介绍、安装及使用教程

安装

1
conda install jupyter notebook

进入笔记

1
jupyter notebook

增删虚拟环境

Jupyter Notebook 增加kernel的方法
Jupyter Notebook导入和删除虚拟环境
在Jupyter Notebook中选择特定的虚拟环境

1
2
3
conda install -n pytorch ipykernel
conda activate pytorch
python -m ipykernel install --user --name pytorch --display-name pytorch3.7

删除 jupyter kernelspec remove pytorch

显示列表 jupyter kernelspec list

Reference

关于 Jupyter Notebook 中 No module named ‘torch’ 的解决办法