1、第一步可以直接在pycharm项目中创建jupyter notebook文件
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/a60a49d54e2041b58cf204c534860cc4.png)
2、假若想要切换成pytorch环境做实验例子,会发现报这个错误
Jupyter server process exited with code 1 C:\Users\12430\.conda\envs\pytorch3.11\python.exe: No module named jupyter
在这里,你需要安装一下jupyter
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/037492b3f91d413aac4cfa8e1c87fa3c.png)
3、可以在jupyter notebook做自己想做的事情了
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/95cf8417932b47c2aec6397b20f9fafd.png)
最后,不会安装conda和pytorch环境,可以参考我之前写的博客