ModuleNotFoundError: No module named 'hailo'

we are facing problem in import hailo in python

  • when import hailo out of virtual environment it works
  • but inside the virtual environment when import hailo it get error : ModuleNotFoundError: No module named ‘hailo’

note :
1- python version : 3.11
2- hailo_platform._version : is 4.18.0 , hailort-4.18.0-cp311-cp311-linux_aarch64.whl
3- arch : aarch64
4- my aikit : is
hailortcli fw-control identify

Executing on device: 0000:01:00.0

Identifying board

Control Protocol Version: 2

Firmware Version: 4.18.0 (release,app,extended context switch buffer)

Logger Version: 0

Board Name: Hailo-8

Device Architecture: HAILO8L

Serial Number: HLDDLBB242601471

Part Number: HM21LB1C2LAE

Product Name: HAILO-8L AI ACC M.2 B+M KEY MODULE EXT TMP

Hello Haldun,

You’re correct in your observation. The pyhailoRT installation is directly on the system Python, not within a virtual environment. That’s why you’re seeing it configured this way.