【问题标题】:I am not able to install tensorflow=1.4.1我无法安装 tensorflow=1.4.1
【发布时间】:2019-01-18 17:15:50
【问题描述】:

您好,当我运行此命令时 pip install tensorflow==1.4.1

它没有运行并给出以下错误

找不到满足要求 tensorflow==1.4.1 的版本(来自版本:0.12.0rc0、0.12.0rc1、0.12.0、0.12.1、1.0.0、1.0.1、1.1.0rc0、 1.1.0rc1、1.1.0rc2、1.1.0、1.2.0rc0、1.2.0rc1、1.2.0rc2、1.2.0、1.2.1、1.3.0rc0、1.3.0rc1、1.3.0rc2、1.3.0、1.4。 0rc0, 1.4.0rc1, 1.4.0, 1.5.0rc0, 1.5.0rc1, 1.5.0, 1.5.1, 1.6.0rc0, 1.6.0rc1, 1.6.0, 1.7.0rc0, 1.7.0rc1, 1.7.0, 1.7.1、1.8.0rc0、1.8.0rc1、1.8.0、1.9.0rc0、1.9.0rc1、1.9.0rc2、1.9.0、1.10.0rc0、1.10.0rc1、1.10.0) 没有找到 tensorflow==1.4.1 的匹配分布

请告诉我如何在 cpu 中安装

【问题讨论】:

  • 如错误所示,没有 1.4.1 版本,您可能想要 1.4.0。您也可以从上述堆栈跟踪中选择任何其他版本。
  • 从版本列表中尝试另一个版本,或者直接 pip install tensorflow
  • 对于 tensorflow 1.4.1 windows binary wheel 尚未构建。如果你想在 Windows 上拥有一个兼容版本的 tensorflow,1.4.0 似乎是一个合乎逻辑的选择,因为 1.4.0 和 1.4.1 之间没有与 Windows 上的行为相关的变化。另请参阅TF issue。您还会在帖子中添加windows 标签吗?

标签: python-3.x tensorflow


【解决方案1】:

这篇文章可能与 Windows 上的 Tensorflow 安装有关。

Tensorflow 1.4.1 不是为 Windows 构建的,因为 1.4.0 和 1.4.1 之间引入的更改不会影响 Windows 平台上 Tensorflow 的行为。如果你想拥有一个兼容的 tensorflow 版本,1.4.0 版本似乎是一个合乎逻辑的选择。

所以如果在 Windows 上运行,请改用

 pip install tensorflow==1.4.0

此问题已在 Tensorflow 问题跟踪器上以#15342 讨论。

【讨论】:

    猜你喜欢
    • 2020-08-20
    • 2020-09-18
    • 2018-05-02
    • 2018-09-10
    • 2017-11-04
    • 2018-12-22
    • 2018-11-11
    • 1970-01-01
    相关资源
    最近更新 更多