0
点赞
收藏
分享

微信扫一扫

jupyter AttributeError: ‘WebSocketProtocol13‘ object has no attribute ‘_extensions‘

若如初梘 2022-04-24 阅读 30
jupyter

文章目录

文章目录


前言

如题,macOS远程连接服务器jupyter。因需切换conda版本,重启后端口号保持一致:

  • jupyter主目录正常打开、terminal正常运行;
  • 以前使用过的jupyter notebook能打开,但不能运行python代码;
  • jupyter运行日志,报jupyter AttributeError: ‘WebSocketProtocol13’ object has no attribute ‘_extensions’。

提示:以下是本篇文章正文内容,下面解决方法仅供参考

一、问题定位

jupyter重启后,conda会默认安装兼容性较高的低版本的nbclassic,所以出现nbclassic版本和当前tornado版本不匹配的问题

二、问题解决

更新最新版nbclassic

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ nbclassic -U

总结

暂无

举报

相关推荐

0 条评论