coral-pi-rest-server icon indicating copy to clipboard operation
coral-pi-rest-server copied to clipboard

no module edgetpu

Open robmarkcole opened this issue 4 years ago • 1 comments

Hit issue https://github.com/f0cal/google-coral/issues/42 but did not resolve by removing refs to edgetpu. Working with this hardware is frustrating

robmarkcole avatar May 15 '20 03:05 robmarkcole

Hi there, apologies, but this is pretty standard python issue, actually. I get this issue with multiple pip packages due to it being installed in different places. The standard location for the edgetpu package will be here:

$ python3 -c 'print(__import__("edgetpu").__path__)'
['/usr/lib/python3/dist-packages/edgetpu']

if you set your env variable, it'll find it every time.

$ export PYTHONPATH=PYTHONPATH:/usr/lib/python3/dist-packages/edgetpu

Namburger avatar May 21 '20 14:05 Namburger