Traceback (most recent call last):
File "D:\APP\Anaconda\envs\torch\Scripts\jupyter-notebook-script.py", line 3, in <module>
import notebook.notebookapp
File "D:\APP\Anaconda\envs\torch\lib\site-packages\notebook\notebookapp.py", line 40, in <module>
ioloop.install()
File "D:\APP\Anaconda\envs\torch\lib\site-packages\zmq\eventloop\ioloop.py", line 210, in install
assert (not ioloop.IOLoop.initialized()) or \
AttributeError: type object 'IOLoop' has no attribute 'initialized'
个人的虚拟环境是Python3.6
conda install tornado=4.5
我自己尝试的是这个,下面的升级版本没成功;
我安装这个之后,jupyter可以打开,但是环境启动不起来,python环境丢失了
conda install -c anaconda pyzmq
两种都尝试一下,先1后2,因个人环境不同,有点差异!