【发布时间】:2020-09-01 19:41:34
【问题描述】:
我有理由应该使用 Tensorflow 1.x 版本,但它返回错误消息:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.2 (from versions: 2.2.0.rc1 ~~~~~
ERROR: No matching disribution found for tensorflow==1.15.2
我也尝试过 .whl 安装,但最新的 Tensorflow 1.15.2 支持 cp37,我不能再使用它了。
pip 或 pypi 是否不再支持 tensorflow 1.x?还是我应该降级 python(3.8 > 3.7) 并使用 .whl 文件安装 Tensorflow?
[系统环境] Ubuntu 20.04 LTS Python版本:3.8.2 点子版本:20.0.2
谢谢。
【问题讨论】:
-
2.2 之前的 Tensorflow 版本不支持 Python 3.8。如果你想使用 Tensorflow 1.15,你需要降级。
标签: python tensorflow pip