解决jupyter中无自己创建的虚拟环境

时间:2021-08-27 16:14:21

最近看的教程都是用的jupyter,按理说都一样吧,但是pycharm中python有的模块就弃用了,而jupyter却都可以用,而且jupyter听说也不错,就配置了一下下

1.打开cmd,激活你的虚拟环境,我的是tensorflow-gpu

  

activate tensorflow-gpu

解决jupyter中无自己创建的虚拟环境

2.安装ipykernel

pip install ipykernel

解决jupyter中无自己创建的虚拟环境

 3.重启jupyter

完美