首页 > 解决方案 > 无法降级 TensorFlow

问题描述

我的 Mac 上有 Tensorflow 2,但我需要将其降级到 1.6.0,因为我使用的软件包需要该版本的 Tensorflow。我收到以下错误:

Collecting tensorflow==1.6.0
  Could not find a version that satisfies the requirement tensorflow==1.6.0 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 1.15.0rc1, 1.15.0rc2, 1.15.0rc3, 1.15.0, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0, 2.0.0rc1, 2.0.0rc2, 2.0.0)
No matching distribution found for tensorflow==1.6.0

可能是什么原因?

标签: pythontensorflow

解决方案


你是如何安装张量流的?你在输入什么命令?试试下面的命令:

pip install tensorflow==1.6.0

推荐阅读