edgetpu: libedgetpu.1.dylib not found
Description
Hello,
I’ve come across an issue while trying to get started with the Coral USB accelerator. When I’ve tried running the example code it gave me an error saying that “/usr/lib/libedgetpu.1.dylib” does not exist and it truly does not. How can I correctly install it?
Click to expand!
Issue Type
Build/Install
Operating System
Mac OS
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
Python 3.9
Relevant Log Output
Traceback (most recent call last):
File "/Users/myusername/edgetpu_runtime/coral/pycoral/examples/classify_image.py", line 40, in <module>
from pycoral.utils.edgetpu import make_interpreter
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pycoral/utils/edgetpu.py", line 24, in <module>
from pycoral.pybind._pywrap_coral import GetRuntimeVersion as get_runtime_version
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pycoral/pybind/_pywrap_coral.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libedgetpu.1.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pycoral/pybind/_pywrap_coral.cpython-39-darwin.so
Reason: tried: '/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pycoral/pybind/libedgetpu.1.dylib' (no such file), '/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pycoral/pybind/libedgetpu.1.dylib' (no such file), '/usr/lib/libedgetpu.1.dylib' (no such file)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (10 by maintainers)
can you please try to copy to pycoral folder as well.
sudo cp -r /usr/local/lib/libedgetpu* /Users/vladmarian/coral/pycoral/