python - PowerPC ppc64le 上的 TensorFlow 安装失败
问题描述
我正在尝试在 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
python:3.6.3
解决方案
它失败了,因为它在 pypi 上找不到适合您的设置的任何内容。如果您查看tensorflow pypi 页面,您将看到只有 wheel 文件可用,并且仅适用于基于 x86 或 x64 的系统。对于 ppc64le 没有。
不过,您有一些选择:
- 从源代码构建,请参阅文档
tensorflow
使用 miniconda,因为在支持您的架构的默认通道中有一个 conda 包
推荐阅读
- python - 使用 python 写入 csv 文件时遇到问题
- php - Laravel 动态 HTML 标签名称,基于是否传递了 href
- android - 使用 Koin 在 Activity 和 Fragment 之间获取具有构造函数参数的共享视图模型
- javascript - 如何在选择标签中显示跨度/标签文本
- python - GET请求与请求库Python中的文件参数
- angular - 我们可以从 Angular 客户端访问 grpc-gateway 的 API 端点吗?访问时出现 CORS 错误
- php - 我可以在 php 中捕获一个重写的域名并用它做些什么吗?
- powershell - 导出所有具有所有者和成员资格规则的动态 Azure AD 组 (PowerShell)
- r - 有没有一种简单的方法可以明智地获取频率列?
- mysql - 获取具有升序值的行数,如 1,2,3,直到发生中断,如表中的 1,2,3,7,8,9,10