1. 安装jupyter notebook
conda install -y jupyter
2. 开启jupyter
jupyter notebook
3. 将conda环境添加到jupyter的内核中
conda install ipykernel
python -m ipykernel install --name conda_env_name
python -m ipykernel install --user --name pytorch171 --display-name pytorch171
4.查看有哪些环境
jupyter kernelspec list
5. 删除指定kernel环境
jupyter kernelspec uninstall pytorch1.8_python3.6