Just wanted to ask if its feasible to build 2.7.0 for Python 3.11? I wanted to try it on an ARM64 device, which gives errors with 2.13.0 and has Python 3.11
Traceback (most recent call last):
File "/home/apex/pycoral-master/examples/classify_image.py", line 121, in <module>
main()
File "/home/apex/pycoral-master/examples/classify_image.py", line 71, in main
interpreter = make_interpreter(*args.model.split('@'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pycoral/utils/edgetpu.py", line 87, in make_interpreter
delegates = [load_edgetpu_delegate({'device': device} if device else {})]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pycoral/utils/edgetpu.py", line 52, in load_edgetpu_delegate
return tflite.load_delegate(_EDGETPU_SHARED_LIB, options or {})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/tflite_runtime/interpreter.py", line 166, in load_delegate
delegate = Delegate(library, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/tflite_runtime/interpreter.py", line 74, in __init__
self._library.tflite_plugin_create_delegate.argtypes = [
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ctypes/__init__.py", line 389, in __getattr__
func = self.__getitem__(name)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ctypes/__init__.py", line 394, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: /usr/lib/libedgetpu.so.1: undefined symbol: tflite_plugin_create_delegate
Exception ignored in: <function Delegate.__del__ at 0x7f8d47b600>
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/tflite_runtime/interpreter.py", line 110, in __del__
self._library.tflite_plugin_destroy_delegate.argtypes = [ctypes.c_void_p]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ctypes/__init__.py", line 389, in __getattr__
func = self.__getitem__(name)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ctypes/__init__.py", line 394, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: /usr/lib/libedgetpu.so.1: undefined symbol: tflite_plugin_destroy_delegate
I also tried it on a x64 Debian 11 machine with Python 3.9 using 2.13.0 and only got a segmantation fault on trying to run the python example:
Just wanted to ask if its feasible to build 2.7.0 for Python 3.11? I wanted to try it on an ARM64 device, which gives errors with 2.13.0 and has Python 3.11
I also tried it on a x64 Debian 11 machine with Python 3.9 using 2.13.0 and only got a segmantation fault on trying to run the python example:
So I'd like to see if I could get 2.7.0 running on the ARM64 machine as 2.7.0 also worked fine on the x64 Debian machine, thanks!