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

ERROR: Could not find a version that satisfies the requirement tflite-support==0.4.4 #959

Closed
CheesyFrappe opened this issue Dec 30, 2023 · 4 comments

Comments

@CheesyFrappe
Copy link

CheesyFrappe commented Dec 30, 2023

I’m trying to import tflite-support.task on Raspberry Pi 4.
When I look at the requirements file, it says tflite-support above than 0.4.2.

When I try to install the tflite-support dependency via pip:
python -m pip install --upgrade tflite-support==0.4.4

the output is:
ERROR: Could not find a version that satisfies the requirement tflite-support==0.4.4 (from versions: 0.1.0a0.dev3, 0.1.0a0.dev4, 0.1.0a0.dev5, 0.1.0a0, 0.1.0a1) ERROR: No matching distribution found for tflite-support==0.4.4

The Python version I'm using is 3.11.2. Would there be any workarounds or fixes to try?

@likeconan
Copy link

Same issue, it did not work on 3.11.2

@CheesyFrappe
Copy link
Author

@khanhlvg do you mind taking a look at this issue? Many thanks.

@soumya997
Copy link

Hi @khanhlvg any update on this issue?

@CheesyFrappe
Copy link
Author

I think I resolved the issue. I was looking around the other issues in the repository and came across #858. Here's what @khanhlvg commented on the issue:
"Please be noted that we only support Python 3.7 - 3.9 at this moment."

The latest Raspberry Pi OS (Bookworm) comes with Python 3.11. So I switched to Bullseye, which comes with 3.9 as default, and it worked along with the other modules in the requirements file.

I recommend you to try the earliest versions of Python. Seems like tflite-support will not support Python 3.11 in the near future.

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

3 participants