Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MCLB961 opened this issue Apr 28, 2022 · 6 comments

Comments

@MCLB961
Copy link

MCLB961 commented Apr 28, 2022

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

@Qengineering
Copy link
Owner

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

@MCLB961
Copy link
Author

MCLB961 commented Apr 28, 2022

can i downgrade to python 3.7 ?

@Qengineering
Copy link
Owner

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.

@MCLB961
Copy link
Author

MCLB961 commented Apr 28, 2022

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

@Qengineering
Copy link
Owner

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

@MCLB961
Copy link
Author

MCLB961 commented Apr 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants