- Topic :: Scientific/Engineering :: Artificial Intelligence
- Topic :: Scientific/Engineering :: Mathematics
When you know about this project and you want to new install tflite-runtime to support your project or you get trouble as ModuleNotFoundError: No module named "tflite-runtime" or ImportError: cannot import name "tflite-runtime" in your project, let follow this tutorial to install tflite-runtime
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_tflite-runtime_env
- Active the virtual environment
test_tflite-runtime_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_tflite-runtime_env
- Active the virtual environment
source test_tflite-runtime_env/bin/active
To install tflite-runtime on Windows(CMD):
py -m pip install tflite-runtime
To install tflite-runtime on Unix/macOs:
pip install tflite-runtime
Example:
pip install tflite-runtime==2.5.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
tflite-runtime 2.9.1 | 2022-06-15T16:18:37 | Windows: Unix/macOs:
|
tflite-runtime 2.8.0 | 2022-04-12T23:26:33 | Windows: Unix/macOs:
|
tflite-runtime 2.7.0 | 2021-12-08T05:16:20 | Windows: Unix/macOs:
|
tflite-runtime 2.5.0 | 2021-10-11T16:18:30 | Windows: Unix/macOs:
|
Download the distribution file from tflite_runtime-2.9.1-cp39-cp39-manylinux2014_x86_64.whl or the specific tflite-runtime version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_tflite-runtime_downloaded_file>
On Unix/macOs:
pip install <path_to_tflite-runtime_downloaded_file>
List distribution:
Project link:
- Homepage