1.激活虚拟环境:activate envname(例如我添加一个名叫pytorch的虚拟环境:activate pytorch)
2.安装ipykernel: conda install ipykernel
3.将环境添加到jupyter notebook:python -m ipykernel install --name pytorch
1.激活虚拟环境:activate envname(例如我添加一个名叫pytorch的虚拟环境:activate pytorch)
2.安装ipykernel: conda install ipykernel
3.将环境添加到jupyter notebook:python -m ipykernel install --name pytorch