Anaconda prompt 启动jupyter时,出现版本的问题

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| traitlets.traitlets.TraitError: The 'loop' trait of an IOLoopKernelManager instance must be a ZMQIOLoop, but a value of class 'tornado.platform.asyncio.AsyncIOMainLoop' (i.e. <tornado.platform.asyncio.AsyncIOMainLoop object at 0x000001B37F8A7908>) was specified. |

解决办法:

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| It seems that upgrading ipykernel to >=4.8.2 and downgrading tornado to 4.5.3 can fix this issue. I first ran conda update --all and then conda install tornado=4.5.3 and finally conda install ipykernel |

执行结束报错:

ImportError: cannot import name 'create_prompt_application'

解决办法:

原因:prompt-toolkit版本不对

解决方法:安装符合要求的版本,如pip install prompt-toolkit==1.0.15

相关推荐
2401_871696523 分钟前
macOS 中使用 launchd 每分钟执行一次 PHP 脚本的完整配置指南
jvm·数据库·python
qq_12084093714 分钟前
Three.js 场景性能优化实战:首屏、帧率与内存的工程化治理
开发语言·javascript·性能优化·three.js
吕源林5 分钟前
MongoDB副本集在网络闪断后如何快速恢复_重连机制与心跳超时(electionTimeoutMillis)
jvm·数据库·python
杰克尼10 分钟前
天机学堂项目总结(day3~day4)
java·开发语言·spring
emovie10 分钟前
Python函数基础
linux·数据库·python
我叫Ycg12 分钟前
C++ 中关于插入函数insert() 与 emplace() 的区别与使用建议
开发语言·c++
Polar__Star13 分钟前
SQL中JOIN不同存储引擎表的影响_索引兼容性与查询性能评估
jvm·数据库·python
2301_8152795213 分钟前
golang如何实现数据导入进度跟踪_golang数据导入进度跟踪实现教程
jvm·数据库·python
hsg7713 分钟前
简述:pytorch
人工智能·pytorch·python
YuanDaima204813 分钟前
矩阵基础原理与题目说明
人工智能·笔记·python·学习·线性代数·矩阵