jupyter notebook添加虚拟环境

在激活虚拟环境后,在当前环境下,输入这两条命令,然后从虚拟环境中进入jupyter notebook

conda install nb_conda
conda install -y jupyter

打开后是这样的

jupyter notebook添加虚拟环境_第1张图片

 

在base环境下打开jupyter notebook,是这样的

jupyter notebook添加虚拟环境_第2张图片

python -m ipykernel install --user --name unsup3d 之后打开就有unsup3d了
 

 

 

  1. 显示现有的所有的虚拟内核名:jupyter kernelspec list
  2. 卸载指定虚拟内核:jupyter kernelspec uninstall [虚拟内核名]

jupyter notebook添加虚拟环境_第3张图片

python3的路径是unsup3d的  乱了

你可能感兴趣的:(jupyter notebook添加虚拟环境)