prettyflyforabeeguy / tf_lite_on_pi_zero

TensorFlow Lite example on a Raspberry Pi Zero W

Repository from Github https://github.comprettyflyforabeeguy/tf_lite_on_pi_zeroRepository from Github https://github.comprettyflyforabeeguy/tf_lite_on_pi_zero

`GLIBCXX_3.4.21' not found on import of tflite

jimwormold opened this issue · comments

Hi

Do you have any idea how to fix the above error (in full beneath)? I'm running Jessie on a Pi Zero W.

Many thanks

Traceback (most recent call last):
  File "test_tflite.py", line 5, in <module>
    from tflite_runtime.interpreter import Interpreter
  File "/home/pi/dev/env/lib/python3.7/site-packages/tflite_runtime/interpreter.py", line 34, in <module>
    from tflite_runtime import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
ImportError: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/pi/dev/env/lib/python3.7/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.cpython-37m-arm-linux-gnueabihf.so)