在Ubuntu服务器20.04上安装tensorflow时出错

2024-09-24 04:25:25 发布

您现在位置:Python中文网/ 问答频道 /正文

我在Ubuntu服务器20.04上有一个Raspberry Pi 4B,我在尝试安装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.

我已经安装了Python3.8.5 64位

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')
>>>

我的pip也是>;19.0

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

Tags: installpipforubuntulinuxtensorflowpip3not