槑槑匠

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

ERROR: Cannot uninstall 'tornado'

ERROR: Cannot uninstall 'tornado'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

pip install --ignore-installed <库名>

ERROR:tensorboard 2.0.2 has requirement grpcio>=1.24.3

ERROR: tensorboard 2.0.2 has requirement grpcio>=1.24.3, but you'll have grpcio 1.13.0 which is incompatible.

pip install --upgrade grpcio

jupyter 制作slide报错

命令:
jupyter nbconvert *.ipynb --to slides --post serve
报错:AttributeError: module 'tornado.web' has no attribute 'asynchronous'

原因是tornado 版本问题,降级回到5.1.1再运行命令即可成功

Deprecated since version 5.1: This decorator is deprecated and will be removed in Tornado 6.0. Use coroutines instead.
pip uninstall tornado
pip install tornado==5.1.1

posted on 2019-12-25 16:26  槑槑匠  阅读(1636)  评论(0编辑  收藏  举报