Solve the problem that spyder and Jupyter Notebook cannot be opened

created at 05-29-2022 views: 1


Open Anaconda Prompt and enter the command:

activate tensorflow
Jupyter Notebook

Prompt error:

Traceback (most recent call last):

File "D:\Anaconda3\Scripts\", line 3, in
import notebook.notebookapp
File "D:\Anaconda3\lib\site-packages\notebook\", line 32, in
File "D:\Anaconda3\lib\site-packages\zmq\eventloop\", line 195, in install
assert (not ioloop.IOLoop.initialized()) or \
AttributeError: type object 'IOLoop' has no attribute 'initialized'


pip uninstall tornado
pip install tornado==4.5.3

A permissionerror appears, close all python-related processes, try again, and the installation is complete.

Then we can reopen Jupyter Notebook.

created at:05-29-2022
edited at: 05-29-2022: