【错误解决】解决Qlearning中的tornado无法引入ioloop问题

问题描述

在学习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中的tornado无法引入ioloop问题_第1张图片

 

你可能感兴趣的:(tornado,python)