I let my pi run the usual updates and noticed by chance, there was a Hailo update in the packages (Jan 31). Afterwards, my programs using Hailo stopped running with a ModuleNotFoundError: No module named ‘hailo’. I tried importing outside venv and the module is not found. I could find it in the file system under “/usr/lib/python3/dist-packages/picamera2/devices/hailo”. Using python within that folder seems to find the module, but gives an error: “HailoRT warning: Cannot create log file hailort.log! Please check the directory . write permissions.” Copying the hailo.py file directy into my project folder, remedies the problem partially - the module is found, but the I get the following program error: "terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted
At this point I am out of any options. Any Help?
1 Like
Same issue is being discussed on this thread: https://github.com/hailo-ai/hailo-rpi5-examples/issues/98
Hi @ADR995
Thanks for bringing this up! We’re aware of the bug and currently working on a fix. In the meantime, we have a temporary solution available that you can try:
Please let us know if this works for you!
Best regards,
Ronit
Yes thks @Ronit, I got everything running. The fix works!