问题描述
在学习Qlearning中,有使用到tornado第三方库。在安装相关库之后
pip install gym
pip install matplotlib
发现jupyter报错
The kernel failed to start as 'ioloop' could not be imported from '~\Envs\Env\lib\site-packages\tornado\__init__.py'. View Jupyter log for further details.
解决方法
可以尝试以下命令,或许可以解决问题
pip install ioloop
pip install tornado ==5
在安装完tornado==5之后,jupyter提示下载
pip install pyglet
实现截图

本文介绍了解决在使用Qlearning过程中遇到的Jupyter与Tornado库冲突的问题。通过安装特定版本的Tornado和相关依赖,成功解决了因'ioloop'无法导入而导致的内核启动失败。
625






