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
Try making a new conda environment and installing tf_runtime again. Show the whole log of commands you wrote and what happened. You can look inside the conda directories site-packages to see if tf_runtime files are there. You can run python3.6 interactively and look at sys.path to see what paths are searched for imports.