当前位置:网站首页>JupyterNotebook安装插件管理包过程中报错( AttributeError module ‘tornado.web‘ has no attribute ‘asynchronous‘ )
JupyterNotebook安装插件管理包过程中报错( AttributeError module ‘tornado.web‘ has no attribute ‘asynchronous‘ )
2022-07-29 16:16:00 【独影月下酌酒】
1.报错信息
AttributeError: module 'tornado.web' has no attribute 'asynchronous',
查看官方文档了解到
tornado.web.asynchronous在tornado5.1版本中已弃用,并在tornado6.0中已删除,用coroutines代替。
2.解决办法
网上给出的很多解决办法是 tornado6.0.4版本降级回到5.1.1
卸载命令:pip uninstall tornado
安装命令pip install tornado==5.1.1
不巧是还是报错,报错信息(依赖冲突):
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
notebook 6.4.6 requires tornado>=6.1, but you have tornado 5.1.1 which is incompatible.
解决办法是: 升级一下nbconvert (至于为什么我也不是很清楚)
pip install --upgrade nbconvert
但是重要的是 升级后问题解决了。
边栏推荐
猜你喜欢

Sentinel热门词汇限流如何实现

BUUCTF——MISC(流量分析)

虚拟偶像的歌声原来是这样生成的!

知识图谱构建全流程

Twin all things digital visual | join the real world and the digital space

1802. 有界数组中指定下标处的最大值【贪心 +二分】

718. The longest repeat subarray

稳步向前不忘初心,沃尔沃的安全感来自公众的认可
![[PCL study notes] Commonly used libraries and APIs for point cloud processing (PCL library Eigen)](/img/b6/0f6113109aef776c777cb25a0ffb95.png)
[PCL study notes] Commonly used libraries and APIs for point cloud processing (PCL library Eigen)

澜舟孟子轻量化预训练模型技术实践
随机推荐
接口内容01文档:postman学习路线
1802. 有界数组中指定下标处的最大值【贪心 +二分】
两军交锋
win10 校验sha256
TensorFlow Serving 高性能的机器学习模型服务系统
[网络]LAN技术堆叠与集群
木棒
Exchange the STP/network knowledge
STC8h1k28六个基本实验
阅读顺序
flutter如何实现切换页面缓存
不堆概念、换个角度聊多线程并发编程
再见Postman!一款更适合国人的接口管理工具
动态规划 爬楼梯
自动化win训练脚本+日志
ASCII码排序
美国对集成电路及其产品发起337调查:英特尔/联想/宏碁/华硕/微星均涉及其中
Greedy (1) interval complete coverage problem
大数阶乘计算
解析idea中的debug调试模式