4

I am new to programming but want to use the Jupyter Notebook tool. When I try to open it in Terminal (I use ~ usr$ jupyter notebook command), an error shows up with the following message (taken from Terminal):

Traceback (most recent call last):
  File "/Users/usr/anaconda3/bin/jupyter-notebook", line 7, in <module>
    from notebook.notebookapp import main
  File "/Users/usr/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 45, in <module>
    ioloop.install()
  File "/Users/usr/anaconda3/lib/python3.6/site-packages/zmq/eventloop/ioloop.py", line 210, in install
    assert (not ioloop.IOLoop.initialized()) or \
AttributeError: type object 'IOLoop' has no attribute 'initialized'

Does anyone know how to solve this? I am just looking for the localhost to open Jupyter Notebook in my Chrome browser.

Thanks in advance!

Neuron
  • 5,141
  • 5
  • 38
  • 59
martins
  • 441
  • 1
  • 5
  • 19

1 Answers1

4

Thank you all,

On top of what @Jim Fasarakis Hilliard or @nitred suggested, I finally made it work by updating all packages (instead of downgrading tornado). As I use conda to download all packages, just typed conda update --all and Jupyter Notebook worked. One of the updates was precisely the "tornado" package, so probably this did the trick.

Thanks again!

martins
  • 441
  • 1
  • 5
  • 19