tensorflow_hub 和 tensorflow 1.10 的问题

Problems with tensorflow_hub and tensorflow 1.10

我在使用 tensorflow hub 0.11 和 tensorflow 1.10 时出现如下错误:

tensorflow hub depends on 'tf-nightly' build after 20180308 or 'tensorflow~=1.7'. found tf.version = 1.10.0

我运行下面的代码但没有帮助:

pip install --user tensorflow --upgrade
pip install --user tensorflow_hub --upgrade

您收到的错误信息来自tensorflow_hub 0.1.0。请检查您的设置以及 pip 如何将其更改为实际使用 tensorflow_hub 0.1.1,该版本已删除此版本检查。