Jupyter notebook: TypeError: __init__() got an unexpected keyword argument 'io_loop'

后端 未结 4 1410
清歌不尽
清歌不尽 2020-12-17 08:46

I recently installed jupyter notebooks on my macbook pro. When I create a new notebook, I see the following exception coming continuously on the terminal where I started the

相关标签:
4条回答
  • 2020-12-17 09:27

    Downgrade tornado, this worked for me.

    pip install tornado==4.5.3

    based on: https://github.com/liftoff/GateOne/issues/689

    0 讨论(0)
  • 2020-12-17 09:40

    It is a version incompatibility issue. Upgrading Jupyter solves it. Here is what you should try in macOS:

    pip install --upgrade jupyter
    
    0 讨论(0)
  • 2020-12-17 09:42

    Ran into this error after updating the ipykernel module.

    After upgrading the jupyter module it started without errors. On Ubuntu I ran the following to update jupyter:

    sudo -H pip install jupyter
    

    Or for Python3

    sudo -H pip3 install jupyter
    
    0 讨论(0)
  • 2020-12-17 09:45

    I modified the file "/Library/Python/2.7/site-packages/notebook-5.2.2-py2.7.egg/‌​notebook/base/zmqhan‌​dlers.py" to remove the io_loop argument.

    Based on bkanuka's comment, this is the way to go until Jupyter releases a new version.

    0 讨论(0)
提交回复
热议问题