TensorFlow-Raspberry-Pi icon indicating copy to clipboard operation
TensorFlow-Raspberry-Pi copied to clipboard

tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl is not a supported wheel on this platform.

Open MCLB961 opened this issue 3 years ago • 6 comments

i'm installing tensorflow on raspberry bi 4 4gb ram i followed your step but when i do install the framework it gives me the error

tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl is not a supported wheel on this platform.

my raspberry pi run armv7l and it's fresh new Raspbian os pip version : 22.0.4 python version: 3.9.2

MCLB961 avatar Apr 28 '22 07:04 MCLB961

Given the fact that you using Python 3.9, I can see you using the new Buster operating system (Debian 11). When you use a wheel with the cp37 notation in the middle, the wheel assumes you have Python 3.7. In your case you have to use a cp39 type of wheel. You can choose between TF 2.6, TF 2.7 or TF 2.8. I have not made a TensorFlow 2.2 wheel suitable for Buster. Please use a newer TensorFlow, or if you must use TF 2.2 build it from scratch (which takes many hours).

Qengineering avatar Apr 28 '22 08:04 Qengineering

can i downgrade to python 3.7 ?

MCLB961 avatar Apr 28 '22 10:04 MCLB961

Never downgrade to a lower version of Python. It's interwoven with many applications and software. Most likely you end up with a Raspberry Pi behaving unexpectedly.
If you like to use TF 2.2, reinstall Buster on your RPi. Or better, use TF 2.8. It's well suited for the Bullseye OS.

Qengineering avatar Apr 28 '22 11:04 Qengineering

so i download 64 bit Raspberry Pi OS with desktop flash it to the Sd and download the aarch64.whl better ?

MCLB961 avatar Apr 28 '22 13:04 MCLB961

It will work if you download and flash this image. image

Qengineering avatar Apr 28 '22 19:04 Qengineering

yeah it work when i download arm64 with cp39 whl https://github.com/PINTO0309/Tensorflow-bin/tree/main/previous_versions i download the whl from this link the cp39 arch64 because i have python 3.9

MCLB961 avatar Apr 29 '22 03:04 MCLB961