No module named 'hailo' detection.py?

Running the detection example in Hailo-Application-Code-Examples-main results in:

/Hailo-Application-Code-Examples-main/runtime/gstreamer/detection_python

ModuleNotFoundError: No module named ‘hailo’ detection.py

I also installed pyhailoRT.

Hey @hcpark

If you’re experiencing issues, the cause may be that pyhailort isn’t correctly installed in your environment.

Installation Suggestions:

  • For x86 Systems: Install pyhailort within a virtual environment (venv) to streamline dependency management.
  • For Raspberry Pi: Install directly on the base OS to ensure optimal performance.
  1. Start Python:

    python3
    
  2. Attempt to import Hailo:

    import hailo
    

If you encounter an error, please reinstall pyhailort in your current environment (use a venv for x86 or install directly on the base OS for Raspberry Pi).