pythonubuntupiptensorflow-lite

pip3 can't download the latest tflite-runtime


The current version of tflite-runtime is 2.11.0:

https://pypi.org/project/tflite-runtime/

Here is a testing for downloading the tflite-runtime to the tmp folder:

mkdir -p /tmp/test
cd /tmp/test

echo "tflite-runtime == 2.11.0" > ./test.txt

pip3 download -r ./test.txt

Here is the error:

ERROR: Could not find a version that satisfies the requirement tflite-runtime==2.11.0 (from versions: none)
ERROR: No matching distribution found for tflite-runtime==2.11.0

Here is the pip3 version:

# pip3 --version
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

What's wrong in the above pip3 download? Why can't it find the latest version? And how to fix?


Solution

  • tflite-runtime 2.11.0 released packages: https://pypi.org/project/tflite-runtime/2.11.0/#files

    Python 3.7, 3.8 and 3.9. Only Linux, different Intel and ARM 64-bit architectures. No Python 3.10 and no source code.

    Use Python 3.9 if you don't want to compile from sources.