tensorflow不兼容的numpy和html5lib [英] incompatible numpy and html5lib for tensorflow

查看:238
本文介绍了tensorflow不兼容的numpy和html5lib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

tensorflow 1.7.0 has requirement numpy>=1.13.3, but you'll have numpy 1.11.0 which is incompatible. tensorboard 1.7.0 has requirement html5lib==0.9999999, but you'll have html5lib 0.999 which is incompatible. tensorboard 1.7.0 has requirement numpy>=1.12.0, but you'll have numpy 1.11.0 which is incompatible.

tensorflow 1.7.0 has requirement numpy>=1.13.3, but you'll have numpy 1.11.0 which is incompatible. tensorboard 1.7.0 has requirement html5lib==0.9999999, but you'll have html5lib 0.999 which is incompatible. tensorboard 1.7.0 has requirement numpy>=1.12.0, but you'll have numpy 1.11.0 which is incompatible.

请参阅此屏幕截图

为什么这些消息仍然显示...即使我已经安装了正确的版本?我已经一遍又一遍地升级并重新安装了它们.我还重新安装了pip,并尝试了pip的简易安装.但是问题仍然存在.

Why are these messages showing up...even though I have the proper versions installed??I have upgraded and reinstalled them over and over. I also reinstalled pip and also tried easy install for pip. But the problem persists.

我的OS安装有问题吗? (Ubuntu 16.4)

Could something be wrong with my OS installation? (Ubuntu 16.4)

这些是我通过跑步获得的一些结果 pip freeze

These are some results I got by running pip freeze

tensorboard==1.8.0 
tensorflow==1.8.0 
numpy==1.14.3 
html5lib==0.9999999 
httplib2==0.9.1

推荐答案

可能您需要卸载并重新安装兼容版本

Probably you need to uninstall and reinstall compatible version

pip uninstall tensorflow-tensorboard

然后重新安装

pip install tensorflow-tensorboard==<your_version>

例如我做到了

pip install tensorflow-tensorboard==1.5.1

这篇关于tensorflow不兼容的numpy和html5lib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆