HailoRT installed, device works, but apps-infra says “HailoRT not detected” (Pi 5, Trixie, Python 3.13)

Hey folks, I’m a bit stuck and hoping someone can point me in the right direction. I’m running a Raspberry Pi 5 with a Hailo-8L (M.2 B+M, PCIe) on Raspberry Pi OS / Debian Trixie. Kernel is 6.12.47+rpt-rpi-2712 and Python is the default 3.13.5.

At the hardware and kernel level, everything seems fine. The device is detected correctly with hailortcli fw-control identify, firmware loads, and DKMS shows the driver built and installed (hailo_pci/4.23.0 for the running kernel). lsmod also confirms the module is loaded. I’ve installed hailo-all 4.23.0, hailort 4.23.0, hailort-pcie-driver 4.23.0, hailo-tappas-core 5.1.0, python3-hailort, and python3-hailo-tappas.

The issue starts when I try to use the apps infrastructure. The hailo-apps-infra installer immediately stops with: “HailoRT version not detected. Is HailoRT installed?” Because of that, the rest of the build never happens. When I try to run something like hailo-detect-simple, it fails because post-processing .so files are missing (for example libyolo_hailortpp_postprocess.so), and I also get an undefined symbol error (filter). The directory /usr/local/hailo/resources/so/ is completely empty, which makes me think those files were never built since the installer exits early.

Python-wise, things are a bit strange. import hailo works fine, but import hailort fails with ModuleNotFoundError. This is all happening under Python 3.13, which is what Trixie ships with by default.

My gut feeling is that PCIe, firmware, kernel, and DKMS are all okay, and this is actually a Python compatibility problem. It looks like HailoRT 4.23 doesn’t get detected properly under Python 3.13, so the apps installer bails out, and the postprocess plugins never get generated.

So my main questions are: is Python 3.13 currently unsupported for HailoRT 4.23? If so, what Python version should be used on Trixie? Is there any way to force-build the post-processing plugins without the Python detection step? And more generally, what’s the recommended path right now for Pi 5 + Trixie?
What should i do?

1 Like

Hey @Naitik_Dumb,

Welcome to the Hailo Community!

Could you share the installation log for hailo-apps? You should find it in the logs folder as install_....log.

That would really help me figure out what’s going on. From what I can see, it looks like the installation might not have completed properly, which would explain why the postprocess didn’t run. Just to clarify though - Python 3.13 is totally fine, we definitely support it!

In the meantime, you could try running import hailo_platform to check if Python hailort is working correctly. ( not import hailort)

Hey, thanks for getting back to me!

You were right — Python hailort is working. I tested with import hailo_platform (not import hailort) and it imports correctly. I can also see all the expected classes and __version__, and the Hailo device is detected properly via hailortcli (firmware 4.23.0, Hailo-8L).

The main issue I’m hitting is that hailo-apps post-install never completes because it says “HailoRT version not detected”, even though:

  • hailort, hailort-pcie-driver, hailo-all are installed (4.23.0)

  • DKMS shows hailo_pci installed for kernel 6.12.47+rpt-rpi-2712

  • lsmod | grep hailo shows the module loaded

  • hailortcli fw-control identify works and detects the board

  • import hailo_platform works in Python 3.13

Because post-install fails, the GStreamer postprocess .so files (like libyolo_hailortpp_postprocess.so) never appear under /usr/local/hailo/resources/so, which causes the sample apps to fail at runtime.

I dont know how to attach the log file so ill just copy paste the part that seems important, [2025-12-30 22:53:38] [INFO] Continue running Post-Installation steps…
[2025-12-30 22:53:38] [DEBUG] Executing as pi: bash -c
export PYTHONUNBUFFERED=1 && source ‘/home/pi/projects/monkey_destroyer/hailo-apps/venv_hailo_apps/bin/activate’ && cd ‘/home/pi/projects/monkey_destroyer/hailo-apps’ && stdbuf -oL -eL hailo-post-install --group ‘default’ 2>&1

[2025-12-30 22:53:38] [DEBUG] Running as user pi: bash -c
export PYTHONUNBUFFERED=1 && source ‘/home/pi/projects/monkey_destroyer/hailo-apps/venv_hailo_apps/bin/activate’ && cd ‘/home/pi/projects/monkey_destroyer/hailo-apps’ && stdbuf -oL -eL hailo-post-install --group ‘default’ 2>&1

[2025-12-30 22:53:38] [DEBUG] :wrench: Setting up environment configuration…
[2025-12-30 22:53:38] [DEBUG] HailoRT version not detected. Is HailoRT installed?
[2025-12-30 22:53:38] [ERROR] Post-installation failed (exit code: 1)
[2025-12-30 22:53:38] [INFO] Common causes and solutions:
[2025-12-30 22:53:38] [INFO] • Network issues: Check internet connection for resource downloads
[2025-12-30 22:53:38] [INFO] • Permission issues: Try running: sudo chown -R pi:pi /home/pi/projects/monkey_destroyer/hailo-apps
[2025-12-30 22:53:38] [INFO] • C++ compilation: Ensure meson and ninja-build are installed
[2025-12-30 22:53:38] [INFO] • Missing dependencies: Check the error messages above
[2025-12-30 22:53:38] [INFO] You can retry post-installation manually:
[2025-12-30 22:53:38] [INFO] source /home/pi/projects/monkey_destroyer/hailo-apps/setup_env.sh
[2025-12-30 22:53:38] [INFO] hailo-post-install --group ‘default’
Thanks in advance :smile:

here, same problem even tho it detects hailoRT in the beggining it is like it forgets that it is even there, here is my log:

Hailo Apps Infrastructure Installation
Started: 2025-12-30 20:27:14
Script: install.sh
User: vlad

[2025-12-30 20:27:14] [DEBUG] Loading configuration from: /home/vlad/hailo-apps-infra/hailo_apps/config/config.yaml
[2025-12-30 20:27:14] [DEBUG] Parsing config.yaml…
[2025-12-30 20:27:14] [SUCCESS] Configuration loaded from config.yaml
[2025-12-30 20:27:14] [DEBUG] VENV_NAME=venv_hailo_apps
[2025-12-30 20:27:14] [DEBUG] USE_SYSTEM_SITE_PACKAGES=true
[2025-12-30 20:27:14] [DEBUG] RESOURCES_ROOT=/usr/local/hailo/resources
[2025-12-30 20:27:14] [DEBUG] RESOURCES_SYMLINK_NAME=resources
[2025-12-30 20:27:14] [DEBUG] DOWNLOAD_GROUP=default
[2025-12-30 20:27:14] [DEBUG] ENV_FILE=/usr/local/hailo/resources/.env
[2025-12-30 20:27:14] [DEBUG] SYSTEM_PACKAGES=meson ninja-build portaudio19-dev python3-gi python3-gi-cairo
[2025-12-30 20:27:14] [DEBUG] VALID_HAILORT_VERSIONS=4.23.0 5.1.1
[2025-12-30 20:27:14] [DEBUG] VALID_TAPPAS_VERSIONS=5.1.0
[2025-12-30 20:27:14] [DEBUG] VALID_HAILO_ARCH=hailo8 hailo8l hailo10h
[2025-12-30 20:27:14] [DEBUG] MODEL_ZOO_MAPPING=hailo8=v2.17.0 hailo8l=v2.17.0 hailo10h=v5.1.0
[2025-12-30 20:27:14] [INFO] Configuration:
[2025-12-30 20:27:14] [INFO] Virtual Environment: venv_hailo_apps
[2025-12-30 20:27:14] [INFO] Download Group: default
[2025-12-30 20:27:14] [INFO] Resources Root: /usr/local/hailo/resources
[2025-12-30 20:27:14] [INFO] System Site-Packages: true
[2025-12-30 20:27:14] [INFO] Log File: /home/vlad/hailo-apps-infra/logs/install_20251230_202714.log
[2025-12-30 20:27:14] [DEBUG] Valid HailoRT versions: 4.23.0 5.1.1
[2025-12-30 20:27:14] [DEBUG] Valid TAPPAS versions: 5.1.0
[2025-12-30 20:27:14] [DEBUG] Valid Hailo architectures: hailo8 hailo8l hailo10h
[2025-12-30 20:27:14] [DEBUG] Model Zoo mapping: hailo8=v2.17.0 hailo8l=v2.17.0 hailo10h=v5.1.0
[2025-12-30 20:27:14] [STEP] Step 1/7: User Detection
[2025-12-30 20:27:14] [SUCCESS] Detected user: vlad
[2025-12-30 20:27:14] [SUCCESS] Detected primary group: vlad
[2025-12-30 20:27:14] [DEBUG] User’s primary group matches username
[2025-12-30 20:27:14] [STEP] Step 2/7: Prerequisites Check
[2025-12-30 20:27:14] [INFO] Checking installed Hailo components…
[2025-12-30 20:27:14] [DEBUG] Running as user vlad: /home/vlad/hailo-apps-infra/scripts/check_installed_packages.sh
[2025-12-30 20:27:18] [DEBUG] SUMMARY line: hailo_arch=hailo8 hailo_pci=4.23.0 hailort=4.23.0 pyhailort=4.23.0 tappas-core=5.1.0 tappas-python=5.1.0
[2025-12-30 20:27:18] [INFO] Detected versions:
[2025-12-30 20:27:18] [INFO] Hailo Architecture: hailo8
[2025-12-30 20:27:18] [INFO] Driver: 4.23.0
[2025-12-30 20:27:18] [INFO] HailoRT: 4.23.0
[2025-12-30 20:27:18] [INFO] TAPPAS: 5.1.0
[2025-12-30 20:27:18] [INFO] Model Zoo Version: v2.17.0 (for hailo8)
[2025-12-30 20:27:18] [SUCCESS] Prerequisites check passed
[2025-12-30 20:27:18] [STEP] Step 3/7: System Package Installation
[2025-12-30 20:27:18] [INFO] Installing system packages: meson ninja-build portaudio19-dev python3-gi python3-gi-cairo[2025-12-30 20:27:18] [DEBUG] Updating apt cache…
[2025-12-30 20:27:19] [DEBUG] Installing: meson
[2025-12-30 20:27:21] [DEBUG] Installing: ninja-build
[2025-12-30 20:27:22] [DEBUG] Installing: portaudio19-dev
[2025-12-30 20:27:23] [DEBUG] Installing: python3-gi
[2025-12-30 20:27:24] [DEBUG] Installing: python3-gi-cairo
[2025-12-30 20:27:26] [SUCCESS] System packages installed
[2025-12-30 20:27:26] [STEP] Step 4/7: Resources Directory Setup
[2025-12-30 20:27:26] [INFO] Creating resources directories at /usr/local/hailo/resources…
[2025-12-30 20:27:26] [DEBUG] Created: /usr/local/hailo/resources/models/hailo8
[2025-12-30 20:27:26] [DEBUG] Created: /usr/local/hailo/resources/models/hailo8l
[2025-12-30 20:27:26] [DEBUG] Created: /usr/local/hailo/resources/models/hailo10h
[2025-12-30 20:27:26] [DEBUG] Created: /usr/local/hailo/resources/videos
[2025-12-30 20:27:26] [DEBUG] Created: /usr/local/hailo/resources/images
[2025-12-30 20:27:26] [DEBUG] Created: /usr/local/hailo/resources/json
[2025-12-30 20:27:26] [DEBUG] Created: /usr/local/hailo/resources/so
[2025-12-30 20:27:26] [DEBUG] Created: /usr/local/hailo/resources/packages
[2025-12-30 20:27:26] [DEBUG] Removing existing .env file
[2025-12-30 20:27:26] [DEBUG] Removing: /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [DEBUG] Executing as vlad: rm -rf /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [DEBUG] Running as user vlad: rm -rf /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [DEBUG] Executing as vlad: touch /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [DEBUG] Running as user vlad: touch /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [DEBUG] Executing as vlad: chmod 644 /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [DEBUG] Running as user vlad: chmod 644 /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [DEBUG] Created .env file at /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [SUCCESS] Resources directories created
[2025-12-30 20:27:26] [INFO] Owner: vlad:vlad
[2025-12-30 20:27:26] [INFO] Location: /usr/local/hailo/resources
[2025-12-30 20:27:26] [INFO] Environment file: /usr/local/hailo/resources/.env
[2025-12-30 20:27:26] [STEP] Step 5/7: Virtual Environment Setup
[2025-12-30 20:27:26] [INFO] Removing existing virtualenv at /home/vlad/hailo-apps-infra/venv_hailo_apps
[2025-12-30 20:27:26] [DEBUG] Removing: /home/vlad/hailo-apps-infra/venv_hailo_apps
[2025-12-30 20:27:26] [DEBUG] Executing as vlad: rm -rf /home/vlad/hailo-apps-infra/venv_hailo_apps
[2025-12-30 20:27:26] [DEBUG] Running as user vlad: rm -rf /home/vlad/hailo-apps-infra/venv_hailo_apps
[2025-12-30 20:27:26] [INFO] Cleaning up build artifacts…
[2025-12-30 20:27:26] [DEBUG] Executing as vlad: find /home/vlad/hailo-apps-infra -name *.egg-info -type d -exec rm -rf {} +
[2025-12-30 20:27:26] [DEBUG] Running as user vlad: find /home/vlad/hailo-apps-infra -name *.egg-info -type d -exec rm -rf {} +
[2025-12-30 20:27:26] [DEBUG] Executing as vlad: rm -rf /home/vlad/hailo-apps-infra/build/ /home/vlad/hailo-apps-infra/dist/
[2025-12-30 20:27:26] [DEBUG] Running as user vlad: rm -rf /home/vlad/hailo-apps-infra/build/ /home/vlad/hailo-apps-infra/dist/
[2025-12-30 20:27:26] [DEBUG] Build artifacts cleaned
[2025-12-30 20:27:26] [INFO] Creating virtualenv ‘venv_hailo_apps’ (with system site-packages)…
[2025-12-30 20:27:26] [DEBUG] Executing as vlad: python3 -m venv --system-site-packages /home/vlad/hailo-apps-infra/venv_hailo_apps
[2025-12-30 20:27:26] [DEBUG] Running as user vlad: python3 -m venv --system-site-packages /home/vlad/hailo-apps-infra/venv_hailo_apps
[2025-12-30 20:27:29] [SUCCESS] Virtual environment created at /home/vlad/hailo-apps-infra/venv_hailo_apps
[2025-12-30 20:27:29] [STEP] Step 6/7: Python Package Installation
[2025-12-30 20:27:29] [INFO] Upgrading pip, setuptools, and wheel…
[2025-12-30 20:27:29] [DEBUG] Executing as vlad: bash -c source ‘/home/vlad/hailo-apps-infra/venv_hailo_apps/bin/activate’ && python3 -m pip install --upgrade pip setuptools wheel[2025-12-30 20:27:29] [DEBUG] Running as user vlad: bash -c source ‘/home/vlad/hailo-apps-infra/venv_hailo_apps/bin/activate’ && python3 -m pip install --upgrade pip setuptools w>
[2025-12-30 20:27:32] [INFO] Installing hailo_apps package (editable mode)…
[2025-12-30 20:27:32] [DEBUG] Executing as vlad: bash -c source ‘/home/vlad/hailo-apps-infra/venv_hailo_apps/bin/activate’ && pip install -e ‘/home/vlad/hailo-apps-infra’
[2025-12-30 20:27:32] [DEBUG] Running as user vlad: bash -c source ‘/home/vlad/hailo-apps-infra/venv_hailo_apps/bin/activate’ && pip install -e ‘/home/vlad/hailo-apps-infra’
[2025-12-30 20:27:51] [SUCCESS] Python packages installed
[2025-12-30 20:27:51] [STEP] Step 7/7: Post-Installation
[2025-12-30 20:27:51] [DEBUG] Fixing ownership of project directory…
[2025-12-30 20:27:51] [DEBUG] Fixing ownership of /home/vlad/hailo-apps-infra to vlad:vlad
[2025-12-30 20:27:51] [DEBUG] Fixing ownership of /usr/local/hailo/resources to vlad:vlad
[2025-12-30 20:27:51] [INFO] Running post-installation as user: vlad
[2025-12-30 20:27:51] [INFO] Download group: default
[2025-12-30 20:27:51] [INFO] Setting up resources symlink…
[2025-12-30 20:27:51] [DEBUG] Symlink: /home/vlad/hailo-apps-infra/resources
[2025-12-30 20:27:51] [DEBUG] Target: /usr/local/hailo/resources
[2025-12-30 20:27:51] [DEBUG] Removing existing: /home/vlad/hailo-apps-infra/resources
[2025-12-30 20:27:51] [SUCCESS] Created symlink: /home/vlad/hailo-apps-infra/resources → /usr/local/hailo/resources
[2025-12-30 20:27:51] [INFO] Continue running Post-Installation steps…
[2025-12-30 20:27:51] [DEBUG] Executing as vlad: bash -c
export PYTHONUNBUFFERED=1 && source ‘/home/vlad/hailo-apps-infra/venv_hailo_apps/bin/activate’ && cd ‘/home/vlad/hailo-apps-infra’ && stdbuf -oL →

[2025-12-30 20:27:51] [DEBUG] Running as user vlad: bash -c
export PYTHONUNBUFFERED=1 && source ‘/home/vlad/hailo-apps-infra/venv_hailo_apps/bin/activate’ && cd ‘/home/vlad/hailo-apps-infra’ && stdbuf -oL →

[2025-12-30 20:27:51] [DEBUG] :wrench: Setting up environment configuration…
[2025-12-30 20:27:52] [DEBUG] HailoRT version not detected. Is HailoRT installed?
[2025-12-30 20:27:52] [ERROR] Post-installation failed (exit code: 1)
[2025-12-30 20:27:52] [INFO] Common causes and solutions:
[2025-12-30 20:27:52] [INFO] • Network issues: Check internet connection for resource downloads
[2025-12-30 20:27:52] [INFO] • Permission issues: Try running: sudo chown -R vlad:vlad /home/vlad/hailo-apps-infra
[2025-12-30 20:27:52] [INFO] • C++ compilation: Ensure meson and ninja-build are installed
[2025-12-30 20:27:52] [INFO] • Missing dependencies: Check the error messages above
[2025-12-30 20:27:52] [INFO] You can retry post-installation manually:
[2025-12-30 20:27:52] [INFO] source /home/vlad/hailo-apps-infra/setup_env.sh
[2025-12-30 20:27:52] [INFO] hailo-post-install --group ‘default’

1 Like

while i still have the same problem as you a fix for me was to downgrade to rpi 5 bookworm and then just run the normal installation process for the hailo-rpi5-examples while outdated if you need a fast working library right now you might want to try it it wroked for my hailo-8 AI HAT+, now i hope it is costumizable, good luck!

I am having the exact same issue.

2 Likes

till an official responds i recommend using bookworm to not waste your time

1 Like

It seems the HAILORT_PACKAGE_NAME_RPI global variable may be a problem. See here: hailo-apps/hailo_apps/python/core/common/defines.py at main · hailo-ai/hailo-apps · GitHub

I don’t think if the system arch is RPI, the HailoRT package should necessarily be h10-hailort. Maybe I’m wrong?

I changed the value from “h10-hailort” to just “hailort”, and everything worked.

1 Like

@omria Should’ve tagged you in my response: HailoRT installed, device works, but apps-infra says “HailoRT not detected” (Pi 5, Trixie, Python 3.13) - #8 by hynso

I can confirm that changing HAILORT_PACKAGE_NAME_RPI global variable to “hailort”, worked for me. I have just installed and run hailo-apps and hailo-rpi5-examples on RPi 5 16 GB with PCIe Gen 3 enabled and HAILO 8L M.2 module mounted on Seeed Studio’s PCIe 3.0 to 2x M.2 hat together with 512GB NVMe SSD. For fixing the PCIe problem for Gen 3 encountered at installation MIP has to be disabled at boot.
I have also run successfully Benchmarking-YOLOv8-on-Raspberry-PI-reComputer-r1000-and-AIkit-Hailo-8L. Results can be found in Adroid project on my web site and GitHub.

1 Like

I cloned again and then changed the variable to “hailort” and still fails with HailoRT version not detected. Is HailoRT installed?

Hi,
@BryanSwie

For Hailo 8/8L: Package name is always “hailort”.
For Hailo 10H on X86 also “hailort”, but on RPI is “h10-hailort“.

We will officially release it soon.

Thanks,

Problem is resolved by changing the hostname of my pi 5 to “rpi”. RPI_POSSIBLE_NAME = [“rpi”, “raspberrypi”, “pi”] in defines.py. The Hostname can’t be anything else for installation to work. After changing my hostname the installation completed sucessfully.

@BryanSwie Thanks for the input - we appreciate it! We will check and implement a fix ASAP.

Got it working with variable hailort. Still was getting error in post-installation steps tappas not installed/detected. Also missed some other dependencies in the venv.

#babysteps

@BryanSwie In our latest hailo-apps release this fix is implemented.