Jupyter无法运行websocket错误

Juputer无法连接

系websocket连接出问题,浏览器控制台报错 ws 连接异常

WebSocket connection to 'ws://localhost:8888/api/kernels/f8809bf9-988f-4666-b183-e01bed63fa76/channels?session_id=e49c21f065e64e7a89847a0859d689dd' failed: Error during WebSocket handshake: Unexpected response code: 200

解决方案

参考 https://github.com/jupyter/notebook/issues/4399

卸载龙卷风6并重新安装龙卷风5。

pip uninstall tornado
pip install tornado==5.1.1

posted @ 2020-03-18 09:48  楠少科技  阅读(631)  评论(0编辑  收藏  举报