简体   繁体   中英

Error when installing tensorflow on Ubuntu Server 20.04

I have a Raspberry Pi 4B with Ubuntu Server 20.04 and I'm getting an error when trying to install tensorflow.

ubuntu@pi1:~$ pip3 install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow

ubuntu@pi1:~$ pip3 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.4.0-cp38-cp38-manylinux2010_x86_64.whl
ERROR: tensorflow_cpu-2.4.0-cp38-cp38-manylinux2010_x86_64.whl is not a supported wheel on this platform.

I have Python 3.8.5 64-bit installed

ubuntu@pi1:~$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.architecture()
('64bit', 'ELF')
>>>

My pip is also >19.0

ubuntu@pi1:~$ pip3 -V
pip 20.3.3 from /home/ubuntu/venv/lib/python3.8/site-packages/pip (python 3.8)

From the comment section for the benefit of the community.

You need to look for aarch64/arm64 package in order to install Tensorflow on Ubuntu 20.4 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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