运行Jupyter Notebook时出现循环错误

时间:2019-10-08 02:08:33

标签: python jupyter-notebook jupyter ubuntu-18.04

我正在使用命令jupyter-notebook Ubuntu18.04 上运行 Python3 Jupyter Notebook。但是我在终端和笔记本浏览器中出现联系错误,发现connected标记不断闪烁。

E *** NotebookApp] Uncaught exception GET /api/kernels/ecb8bf59-7cee-4b86-a6fa-d3145d4c7f05/channels?session_id=25ACDE78D02341F5B23711095B786D91 (127.0.0.1)
    HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/kernels/ecb8bf59-7cee-4b86-a6fa-d3145d4c7f05/channels?session_id=25ACDE78D02341F5B23711095B786D91', version='HTTP/1.1', remote_ip='127.0.0.1')
    Traceback (most recent call last):
      File "/home/danni/.local/lib/python3.6/site-packages/tornado/websocket.py", line 546, in _run_callback
        result = callback(*args, **kwargs)
      File "/usr/lib/python3/dist-packages/notebook/services/kernels/handlers.py", line 258, in open
        super(ZMQChannelsHandler, self).open()
      File "/usr/lib/python3/dist-packages/notebook/base/zmqhandlers.py", line 168, in open
        self.send_ping, self.ping_interval, io_loop=loop,
    TypeError: __init__() got an unexpected keyword argument 'io_loop'

到目前为止,我尝试重新安装jupyter-notebook和jupyter notebook --allow_origin='*',但没有任何效果。并且jupyter notebook --no-browser --port=8888 --debug 的输出很好。所以我认为问题应该出在我正在运行的笔记本上?有人对如何发生有任何想法吗?

0 个答案:

没有答案
相关问题