在 Anaconda Prompt 中启动 jupyter notebook 时遇到如下问题:
Traceback (most recent call last):
File "D:\anaconda\envs\tensorflow\Scripts\jupyter-notebook-script.py", line 3, in <module>
import notebook.notebookapp
File "D:\anaconda\envs\tensorflow\lib\site-packages\notebook\notebookapp.py", line 40, in <module>
ioloop.install()
File "D:\anaconda\envs\tensorflow\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'
解决方法:
conda install tornado=4.5
只需一行指令即可搞定。