【问题标题】:Tensorflow installation fails on PowerPC ppc64lePowerPC ppc64le 上的 TensorFlow 安装失败
【发布时间】:2020-07-04 14:21:04
【问题描述】:

我正在尝试在 Rhel 7.6 ppc64le 上安装 tensorflow。我已经安装了 Python 3.6.3。

错误:

pip install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

在这个问题上需要一些帮助。
环境:Rhel 7.6 - ppc64le
蟒蛇:3.6.3

【问题讨论】:

    标签: python tensorflow pip powerpc rhel7


    【解决方案1】:

    它失败了,因为它在 pypi 上找不到适合您设置的任何内容。如果您检查tensorflow pypi page,您将看到只有wheel 文件可用并且仅适用于基于x86 或x64 的系统。对于 ppc64le 则没有。

    你有一些选择:

    1. 从源代码构建,请参阅the docs
    2. 使用 miniconda,因为在支持您的架构的默认频道中有一个用于 tensorflow 的 conda 包

    【讨论】:

      【解决方案2】:

      您可以尝试使用 Anaconda 安装 TensorFlow,Anaconda 有时可以在旧 CPU 上安装 TensorFlow。

      > conda create -n tf_env tensorflow=2
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2018-01-14
        • 1970-01-01
        • 1970-01-01
        • 2018-10-07
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多