Jupyter notebook 一直在提示Connecting to kernel,但一直报错,
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.
因此命令行上的星号将永远保留。
奇怪的是,终端上的 iPython 运行良好。
这是我尝试过的:
- 将浏览器从 Chrome 更改为 Firefox
- 将端口号更改为“8888”以外的其他内容
- 卸载并重新安装 Jupyter
有人遇到过类似的问题吗?
请您参考如下方法:
我遇到了类似的问题。这是由 tornado-package 引起的,我不得不将其降级。
sudo pip3 uninstall tornado
sudo pip3 install tornado==5.1.1
参见 Jupyter notebook: No connection to server because websocket connection fails
