Hi everyone,
I’m trying to run a Python script that uses import hailo
, but I keep getting this error:
ModuleNotFoundError: No module named hailo
I’m using Python 3.11.11 and created a virtual environment like this:
python3.11 -m venv --system-site-packages venv_hailo
I installed HailoRT (version 4.19.0), and it works fine from the command line. When I run: hailortcli fw-control identify
I get:
Executing on device: 0000:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.19.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8L
I thought using --system-site-packages
when creating the virtual environment would include the hailo module, but Python still doesn’t find it when I try to import it
What am I missing? How can I make ‘import hailo’ work in my virtual environment?
Thanks!