As the title suggest, I’m struggling to get the ‘hailo_apps_infra’ working on my RaspberryPi5.
To get to the position I’m in I took these steps…
- git clone GitHub - hailo-ai/hailo-rpi5-examples
- ‘cd’ into the newly generated ‘hailo-rpi5-examples’
- run ‘./install.sh’
- run ‘source ./setup_env.sh’
- cd over to my python project and run ‘python main.py’
At this point python throws an error for this import statement…
from hailo_apps_infra.hailo_rpi_common import (
get_default_parser,
detect_hailo_arch,
)
citing.. "ModuleNotFoundError: No module named ‘hailo_apps_infra’ ".
I’ve tried a fair few things without any luck, including..
- Fresh reinstalling (three times)
- Verified that hailo_apps_infra is found by ‘pip freeze | grep hailo’
- Ensured all dependencies are installed
I checked for other topics similar to this and noticed an identical one, ModuleNotFoundError: No module named 'hailo_apps_infra', however following the steps here did not work either.
Running ./run_tests.sh fails 18 out of 37 tests, which has been identical each time I’ve reinstalled. Most cite ‘process failed with error code 1.’ which I assume is a general error outside of my control, however some say that it can’t find the rpi5’s camera, which we’ve verified to be connected. I’m going to take a shot in the dark and say all tests should be passing, or is it known to be that some are failing right now?
If any more information is needed to make this fix I’m happy to provide as much as possible. Has anyone dealt with this before and got some advice?