本文介绍了jupyter笔记本保持与内核的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Jupyter笔记本一直在说Connecting to kernel
,直到永远不会弹出错误,
The Jupyter notebook keeps saying Connecting to kernel
, which never reaches finally popping an error,
因此,命令行上的星号将永远保留.
So the asterisk on the command line stays forever.
奇怪的是,终端上的iPython可以正常运行.
The strange part is, iPython on terminal works FINE.
这是我尝试过的:
- 将浏览器从Chrome更改为Firefox
- 将端口号更改为"8888"以外的其他名称
- 卸载Jupyter并重新安装
有人遇到类似问题吗?
推荐答案
我遇到了类似的问题.它是由龙卷风包装引起的,我不得不对其进行降级.
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
请参见> Jupyter笔记本:由于无法连接到服务器, websocket连接失败
这篇关于jupyter笔记本保持与内核的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!