python basic_pipelines/detection.py --input resources/detection0.mp4Traceback (most recent call last):
File “/home/swappbot/hailort-drivers/hailo-rpi5-examples/basic_pipelines/detection.py”, line 7, in
import hailo
ModuleNotFoundError: No module named ‘hailo’
This error occurs because you are not in a Python virtual environment.
Please run source setup_env.sh from the hailo-rpi5-examples directory.
Note that this script must be executed in every new terminal session.
Please let me know how it goes. The link you shared suggests a manual installation, which likely means that pyhailort (apart from the CLI version) wasn’t installed in your virtual environment.
Keep in mind that pyhailort is automatically installed as part of our package when following the official process.