简体   繁体   English

在 PowerPC ppc64le 上安装 Tensorflow 失败

[英]Tensorflow installation fails on PowerPC ppc64le

I am trying to install tensorflow on Rhel 7.6 ppc64le.我正在尝试在 Rhel 7.6 ppc64le 上安装 tensorflow。 I have Python 3.6.3 installed.我安装了 Python 3.6.3。

ERROR:错误:

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

Would like some help on this issue.想在这个问题上得到一些帮助。
Environment: Rhel 7.6 - ppc64le环境:Rhel 7.6 - ppc64le
python :3.6.3蟒蛇:3.6.3

It fails because it cannot find anything on pypi that is suitable for your setup.它失败是因为它在 pypi 上找不到适合您设置的任何内容。 If you check the tensorflow pypi page , you will see that only wheel files are available and only for either x86 or x64 based systems.如果您查看tensorflow pypi 页面,您将看到只有轮文件可用,并且仅适用于基于 x86 或 x64 的系统。 For ppc64le there are none.对于 ppc64le,没有。

You have some options though:不过你有一些选择:

  1. Build from source, see the docs从源代码构建,请参阅文档
  2. Use miniconda, as there is a conda package for tensorflow in the default channels that supports your architecture使用 miniconda,因为在支持您的架构的默认通道中有一个用于tensorflow

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

> conda create -n tf_env tensorflow=2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM