Bug 5976 - [AnolisOS8.6][aarch64][lest] arm架构上安装tensorflow失败,x86架构可以安装成功
Summary: [AnolisOS8.6][aarch64][lest] arm架构上安装tensorflow失败,x86架构可以安装成功
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 8.6
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-25 16:35 UTC by meil_wei
Modified: 2023-07-25 17:08 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meil_wei alibaba_cloud_group 2023-07-25 16:35:15 UTC
Description of problem:
arm架构上安装tensorflow失败,x86架构可以安装成功

[root@qibo-wxm-lest-an86-arm ~]# pip install tensorflow
Looking in indexes: http://mirrors.cloud.aliyuncs.com/pypi/simple/
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
[root@qibo-wxm-lest-an86-arm ~]# pip3 install tensorflow
Looking in indexes: http://mirrors.cloud.aliyuncs.com/pypi/simple/
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow


Steps to Reproduce:
pip install tensorflow

Actual results:
tensorflow安装失败

Expected results:
tensorflow安装成功

Additional info:
# uname -r
4.19.91-26.6.an8.aarch64

# free -g
              total        used        free      shared  buff/cache   available
Mem:             30           0          25           0           4          29
Swap:             0           0           0

# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Core(s) per socket:  8
Socket(s):           1
NUMA node(s):        1
Vendor ID:           ARM
BIOS Vendor ID:      Alibaba Cloud
Model:               0
BIOS Model name:     virt-rhel7.6.0
Stepping:            r0p0
CPU max MHz:         3000.0000
CPU min MHz:         3000.0000
BogoMIPS:            100.00
L1d cache:           64K
L1i cache:           64K
L2 cache:            1024K
L3 cache:            65536K
NUMA node0 CPU(s):   0-7
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb

# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
Comment 1 meil_wei alibaba_cloud_group 2023-07-25 16:39:40 UTC
an23版本arm和x86均可以安装成功tensorflow

# uname -r
5.10.134-14.an23.aarch64

# pip show tensorflow
Name: tensorflow
Version: 2.13.0
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: packages@tensorflow.org
License: Apache 2.0
Location: /usr/lib/python3.10/site-packages
Requires: tensorflow-cpu-aws
Required-by: