【问题标题】:Cannot install older versions of tensorflow: No matching distribution found for tensorflow==1.9.0无法安装旧版本的 tensorflow:没有为 tensorflow==1.9.0 找到匹配的分布
【发布时间】:2020-06-16 18:37:38
【问题描述】:

我需要安装旧版本的 tensorflow 才能使 deepface 库正常工作,但是每当我运行 pip install tensorflow==1.9.0 时,我都会得到:ERROR: Could not find a version that satisfies the requirement tensorflow==1.9.0 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0)

其他人遇到这个问题/知道如何解决它?谢谢!

【问题讨论】:

  • 我遇到了同样的问题。其背后的原因是因为您可能使用的是 python 3.8 或更高版本。 TensorFlow 不支持 python 3.8 或更高版本。
  • tensorflow==1.9.0 只能安装 Python 2.7 / 3.3 / 3.4 / 3.5 / 3.6,所以将 Python 降级到 3.6。

标签: python tensorflow pip


【解决方案1】:

您可以使用以下 Python 版本安装 TensorFlow 1.9.0:2.7 和 3.4 到 3.6。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-02-23
    • 1970-01-01
    • 2019-05-21
    • 1970-01-01
    • 2020-02-17
    • 1970-01-01
    相关资源
    最近更新 更多