robmarkcole / coral-pi-rest-server

Perform inferencing of tensorflow-lite models on an RPi with acceleration from Coral USB stick
https://coral.ai/products/accelerator
MIT License
67 stars 20 forks source link

no module edgetpu #56

Open robmarkcole opened 4 years ago

robmarkcole commented 4 years ago

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

Namburger commented 4 years ago

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