i dont know what to do, just trying to install hailo-apps-infra but even to run simple code it get this

pi5@raspberrypi:~/hailo-apps-infra $ source hailo_infra_venv/bin/activate
bash: hailo_infra_venv/bin/activate: No such file or directory
pi5@raspberrypi:~/hailo-apps-infra $ source venv_hailo_apps/bin/activate
(venv_hailo_apps) pi5@raspberrypi:~/hailo-apps-infra $ pip list | grep hailo

You should see packages like hailort, hailo-tappas-core, and hailo-apps-infra.

apt list | grep hailo

This shows all installed Hailo-related system packages.

hailo-apps 25.10.0 /home/pi5/hailo-apps-infra
hailo-tappas-core-python-binding 5.1.0
hailort 4.23.0

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

golang-github-hailocab-go-hostpool-dev/oldstable,oldstable 0.0~git20160125.0.e80d13c-1.1 all
hailo-all/oldstable,oldstable,now 4.20.0 all [installed]
hailo-dkms/oldstable,oldstable 4.19.0-1 all
hailo-tappas-core-3.28.2/oldstable 3.28.2 arm64
hailo-tappas-core/now 5.1.0 arm64 [installed,local]
hailofw/oldstable,oldstable,now 4.20.0-1 all [installed,automatic]
hailort-pcie-driver/now 4.23.0 all [installed,local]
hailort/now 4.23.0 arm64 [installed,local]
python3-hailort/oldstable,now 4.20.0-1 arm64 [installed,automatic]
rpicam-apps-hailo-postprocess-dbgsym/oldstable 1.9.0-1~bpo12+1 arm64
rpicam-apps-hailo-postprocess/oldstable,now 1.9.0-1~bpo12+1 arm64 [installed,automatic]
(venv_hailo_apps) pi5@raspberrypi:~/hailo-apps-infra $ hailortcli fw-control identify
Executing on device: 0001:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.23.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8L
Serial Number: HLDDLBB244601242
Part Number: HM21LB1C2LAE
Product Name: HAILO-8L AI ACC M.2 B+M KEY MODULE EXT TMP

(venv_hailo_apps) pi5@raspberrypi:~/hailo-apps-infra $ hailo-detect-simple
Traceback (most recent call last):
File “/home/pi5/hailo-apps-infra/venv_hailo_apps/bin/hailo-detect-simple”, line 3, in
from hailo_apps.hailo_app_python.apps.detection_simple.detection_simple import main
File “/home/pi5/hailo-apps-infra/hailo_apps/hailo_app_python/apps/detection_simple/detection_simple.py”, line 9, in
import hailo
ImportError: /lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32’ not found (required by /usr/local/lib/python3.11/dist-packages/hailo.cpython-311-aarch64-linux-gnu.so)
(venv_hailo_apps) pi5@raspberrypi:~/hailo-apps-infra $

Hey @kurniawan_anis,

Welcome to the Hailo Community!

The error is coming from the C++ runtime on your system:

/lib/aarch64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.32' not found (required by .../hailo.cpython-311-aarch64-linux-gnu.so)

What’s happening here is that the Hailo Python extension was compiled against a newer version of libstdc++ than what’s currently on your Raspberry Pi.

The root cause: Looking at your setup, you’ve got a mixed environment that’s causing version conflicts:

  • From RPi repos: hailo-all 4.20.0, hailofw 4.20.0, python3-hailort 4.20.0-1
  • Manually installed: hailort 4.23.0, hailort-pcie-driver 4.23.0, hailo-tappas-core 5.1.0, and hailo-apps-infra 25.10.0 in your venv

You’re essentially running parts of the 4.20 stack alongside newer 4.23/5.1 components, which creates version mismatches. I’ve seen this issue pop up several times on the forum with similar symptoms.

Here’s what I’d recommend — do a clean reinstall:

dpkg -l | grep hailo
sudo apt-get remove --purge -y hailo* libhailo*
sudo apt-get autoremove --purge -y
sudo apt-get clean
sudo apt update
sudo apt full-upgrade
sudo apt install dkms
sudo apt install hailo-all
# to check if worked
hailortcli scan
hailortcli fw-control identify 

Let me know how it goes!

1 Like

still error
[HailoRT] [error] CHECK failed - Driver version (4.20.0) is different from library version (4.23.0)
[HailoRT] [error] Driver version mismatch, status HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)

thankyou for your answer, but unfortunately it still didn‘t work. but yeah fortunately after i reinstall my os, from bookworm to trixie its now work, i purge my memorycard and follow the installation form this repo, and now its work, hoping next time you guys can help me to learn more, and again thank you very much :slight_smile:

1 Like

do you have some reference for me to learn how to make my hef model to be running on my own apps? i’m kinda stuck cause i didn’t find some full tutorial, sorry for this trouble, and thankyou very much

Hey @Jericho_Sanchez,

Welcome to the Hailo Community – great to have you here!

Just to double-check: do you have DKMS installed, and you’re still running into this issue? If that’s the case, could you try manually removing the driver from the kernel using the following commands?

sudo find /lib/modules -type f \( -name 'hailo*.ko' -o -name 'hailo*.ko.xz' \) -print -delete
sudo find /lib/modules -type d -name 'hailo' -print -exec rm -rf {} +

After this re run the :

sudo apt update 
sudo apt full-upgrade 
sudo apt install dkms
sudo apt install hailo-all

Hope this helps !

Hey @kurniawan_anis,

Great to see your interest in getting started!

You can find the documentation for the Dataflow Compiler (DFC) here:
v5.1.0 | Hailo
And the Model Zoo is available on GitHub:
GitHub - hailo-ai/hailo_model_zoo: The Hailo Model Zoo includes pre-trained models and a full building and evaluation environment

The process is pretty straightforward:

  1. Start with your ONNX or TensorFlow model.
  2. Parse the model using either the DFC or the Model Zoo.
  • If it’s not already available in the Model Zoo, we recommend using the DFC.
  1. Run the optimization step.
  2. Then proceed to the compilation step.

Hope this helps!