Ask questionsModuleNotFoundError: No module named 'tflite_runtime'
I am working a x86 Laptop and have installed tensorflow using https://www.tensorflow.org/lite/guide/python Following is the list of tflite installed
ankit@HP:~$ pip3 list | grep tflite tflite 1.15.0 tflite-runtime 1.14.0
my aim is to get a Google coral example running from this link https://coral.ai/docs/accelerator/get-started/#3-run-a-model-using-the-tensorflow-lite-api
When I execute the command for inference I get the folllowing error
Traceback (most recent call last): File "classify_image.py", line 36, in <module> import tflite_runtime.interpreter as tflite ModuleNotFoundError: No module named 'tflite_runtime'
Is there anything else that I need to install. I already have installed the libedgetpu1-std.
Answer questions aselle
What exactly are you using to run the inference command? Are you sure that is the same version of python? i.e. if you are using pip3 but then using python you will probably be using python2 which doesn't have it installed.