jupyter notebook和jupyter lab 找不到虚拟环境

文章目录


这里以环境Pytorch为例:

  1. 激活环境
conda activate Pytorch
  1. 在你的环境中安装 ipykernel:
conda install ipykernel
  1. 将你的环境添加到 Jupyter 的内核列表中:
python -m ipykernel install --user --name=Pytorch

4.删除内核

jupyter kernelspec remove tmp

你可能感兴趣的:(经验,jupyter,ide,python)