jupyter notebook keeps CONNECTING TO KERNEL

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 02:44:27

问题


The Jupyter notebook keeps saying Connecting to kernel, which never reaches finally popping an error,

A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration.

So the asterisk on the command line stays forever.

The strange part is, iPython on terminal works FINE.

Here are what I tried:

  1. Change the browser from Chrome to Firefox
  2. Change port number into something else than '8888'
  3. Uninstalled the Jupyter and re-installed it

Anybody with similar issues?


回答1:


I had a similar issue. It was caused by the tornado-package and I had to downgrade it.

sudo pip3 uninstall tornado
sudo pip3 install tornado==5.1.1

See Jupyter notebook: No connection to server because websocket connection fails



来源:https://stackoverflow.com/questions/55014554/jupyter-notebook-keeps-connecting-to-kernel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!