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

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐