ERROR: Could not find a version that satisfies the requirement tensorflow==1.2.1 ? pip cannot find tensroflow 1 versions

ERROR: Could not find a version that satisfies the requirement tensorflow==1.2.1 ? pip cannot find tensroflow 1 versions

我无法在我的虚拟环境中安装任何 tensorflow 1 版本。我正在尝试的项目需要它 运行..

pip install tensorflow==1.2.1
ERROR: Could not find a version that satisfies the requirement tensorflow==1.2.1 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3)
ERROR: No matching distribution found for tensorflow==1.2.1

尝试过此处建议的内容:

Tensorflow r1.0 : could not a find a version that satisfies the requirement tensorflow

我的python版本不旧:3.8.5

我的 pip 版本还可以:20.0.2

我仍然无法安装 tensorflow 1.2.1 ...

我要做什么..我正在使用 ubuntu 20

来自https://www.tensorflow.org/install/pip

System requirements:

  • Python 3.5–3.8
    • Python 3.8 support requires TensorFlow 2.2 or later.

有两种选择:

  1. 使用旧版本 python (3.5-3.7)
  2. 使用 TensorFlow 2.2 或更高版本