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


版权声明:本文为LZ_nanshao原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。