Unable to launch Jupyter Notebook

Question:

I’m unable to launch the Jupyter on Anaconda. I’m using windows, how can I get rid of this error? The error says:

Traceback (most recent call last):
File "C:UsersUseranaconda3Scriptsjupyter-notebook-script.py", line 6, in 
from notebook.notebookapp import main
File "C:UsersUseranaconda3libsite-packagesnotebooknotebookapp.py", line 64, in 
raise ImportError(_("The Jupyter Notebook requires tornado >= 5.0, but you have %s") % tornado.version)
ImportError: The Jupyter Notebook requires tornado >= 5.0, but you have 4.5.3
Asked By: Saifullah Khan

||

Answers:

You can probably remove it off your system then put it back on with for python

sudo apt-get remove python-tornado
sudo pip install tornado

similarly you could run it for python 3 if neccesary

sudo apt-get remove python3-tornado
sudo pip3 install -U tornado

or you could try the following to upgrade tornado

sudo pip install tornado --upgrade

you said :

I’m unable to launch the Jupyter on Anaconda.

you can update it from Anaconda.Navigator

  1. go to Anacondas’ Environments
  2. search about tornado
  3. remove it
    4.you will find your tornado 4.5.3

enter image description here

  1. click on the check then choose

  2. make for a specific version –> 6.1

  3. go to Anacondas’ home page then ran jupyter [install -> launch ]
    done

Answered By: Almadani

Try uninstalling tornado with: (pip uninstall tornado)
for some reason after deleting my tornado 4.5.3 it automatically updated to Version 6. and started working perfectly fine, I don’t know the exact reason, possibly a missing dependency was auto installed I guess. whatever it is, this worked for me.

enter image description here

Answered By: Mihir Patil

The problem is that I already have tornado 6.2. But the error says:
ImportError: The Jupyter Notebook requires tornado >= 5.0, but you have 4.5.3.
Yesterday, it was working well. I’m not sure what happened.

Answered By: user4394598
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.