【发布时间】: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