Raspberry Trixie Error with Guide (Pi 5, AI Hat 2)

I’ve followed the sticky install guide on the Forum for installation.

I’m on the latest Trixie OS for Raspberry Pi 5, I have the AI 2 Hat with the 10H but I get the below error on the final step:

Checking installed Hailo components…
:cross_mark: Could not get package summary from check script

════════════════════════════════════════════════════════════════
Installation Summary
════════════════════════════════════════════════════════════════

:white_check_mark: User Detection User: pi, Group: pi
:cross_mark: Prerequisites Check No SUMMARY output

:cross_mark: Installation completed with errors

Hi @user459

Can you please elaborate more on the exact installation steps you took?

Thanks,

I did exactly what it says on the sticky:
”””
How to install/update

For Raspberry Pi:

First, install Hailo-all 4.23:

sudo apt update 
sudo apt full-upgrade
sudo apt install dkms # very important**,** otherwise the driver **won't** be installed correctly 
sudo apt install hailo-all

Then clone and install Hailo-Apps-Infra

git clone https://github.com/hailo-ai/hailo-apps-infra.git
cd hailo-apps-infra
sudo ./scripts/cleanup_installation.sh
sudo ./install.sh

“““

Hi @user459 ,

Apologize for the confusion - the current Git repo is “hailo-apps” (not “hailo-apps-infra”) GitHub - hailo-ai/hailo-apps

Please let us know if now it works.

Thanks,

Hi. I did exactly the same as @user459. Following your reply I deleted the directory with hailo-apps-infra’ and then did

git clone GitHub - hailo-ai/hailo-apps
cd hailo-apps
sudo ./scripts/cleanup_installation.sh
sudo ./install.sh

I still get the same message:

Checking installed Hailo components…
:cross_mark: Could not get package summary from check script

════════════════════════════════════════════════════════════════
Installation Summary
════════════════════════════════════════════════════════════════

:white_check_mark: User Detection User: pi, Group: pi
:cross_mark: Prerequisites Check No SUMMARY output

:cross_mark: Installation completed with errors

In addition, hailort which was working perfectly before, no longer works!

Help appreciated! Thanks.

Hey, I got this working with Gemini’s help in the end. I’ll check back through my conversation and summarise what worked shortly :+1:

So without regurgitating the entire conversation, this seemed to be the final piece of the puzzle after a bit of trial and error:

sudo modprobe hailo1x_pci

Once you’ve done that retry the install process noted on the sticky

1 Like

Also, make sure you’re rebooting after installing things. I think that’s what tripped me up a couple of times

1 Like

I ran into a similar issue because I had a custom hostname. It looks like thats how the install script checks if its a pi or not

Hi @user459 ,

In order to fully understand the case:
You upgraded from AI HAT with Hailo 8 to the new AI HAT+2 with Hailo 10?
In other words, previously you had to do sudo apt install hailo-all and now sudo apt install hailo-h10-all?
If so, during this Hailo PCIe driver is changed, and reboot is required.
Since modprobe is a Linux command that loads kernel modules (drivers) into the running kernel - it’s a workaround to the required reboot.

Hi,

After installing our PCIe driver - reboot indeed required.
That’s the reason for the required reboot in the installation guide after sudo apt install hailo-h10-all.

Hi @TheRubbishRaider ,

Indeed the installation script determines host machine type, and in order to allow custom hostnames, it uses the following method which is hostname agnostic:

def is_raspberry_pi():
    try:
        with open('/proc/device-tree/model', 'r') as f:
            model = f.read()
            return "Raspberry Pi" in model
    except:
        return False
1 Like

I have done all the steps mentioned above. I have reinstalled hailo-h10-all. I have rebooted and checked hailortcli fw-control identify. I did sudo modprobe hailo1x_pci. I have done the following steps:

git clone GitHub - hailo-ai/hailo-apps
cd hailo-apps
sudo ./scripts/cleanup_installation.sh
sudo ./install.sh

I still get

X Could not get package summary from check script

X Installation completed with errors.

Any pointers welcome.

In addition to the above, if I try

$ source setup_env.sh

I get the error report “Virtual environment directory ‘venv_hailo_apps’ not found”

Clearly something fails to happen during the installation.

Hi @user473 ,

Can you please manually delete all previous hailo-apps (and previous versions of it) installations, including sudo rm -rf /usr/local/hailo and then install without running the command sudo ./scripts/cleanup_installation.sh?

Thanks for your reply.

I deleted hailo-apps and all other version including hailo-apps-infra. I also deleted the files in /usr/local/hailo as you suggest. I then cloned the git file as previously, changed directory and ran ./install.sh. Sadly, I get exactly the same result.

I did not run ./scripts/cleanup_installation.sh

I still get the same result: “X Installation completed with errors”.

The logfile doesn’t shed any light on the error. ‘Package summary’ is apparently still the source of the problem.

Thanks again for your assistance.

Disappointing experience so far to be honest albeit I managed to get that bit up and running, I’ve tried getting Ollama going now and it’s just as much of a nuisance. Pulling a model makes it start the ollama server and then I cant actually download any models.

I hope Hailo update their guides to make it easier, I’m tempted to wipe SD card and start again in case anything is conflicting.

Given that they haven’t updated the sticky message even though it’s clearly not working doesn’t fill me with hope though.

Hi,

It might be the case your environment contaminated from previous attempts.

Complete manual uninstall:

1) Remove packages

sudo dpkg -l | grep hailo
sudo apt purge (list from above separated with spaces)

2) Remove python packages

pip list | grep hailo
pip uninstall (list from above separated with spaces, if required add: --break-system-packages)

3) Remove previous resources

sudo rm -rf /usr/local/hailo

4) Remove package

sudo rm -rf path-to/hailo-apps

6) Delete all Hailo kernel modules: hailo*.ko and hailo*.ko.xz files

sudo find /lib/modules -type f ( -name ‘hailo*.ko’ -o -name ‘hailo*.ko.xz’ ) -print -delete
sudo rm -rf (list from above)

7) Remove any empty hailo directories left behind

sudo find /lib/modules -type d -name ‘hailo’ -print -exec rm -rf {} +
sudo rm -rf (list from above)

8) Recompute module dependency database

sudo depmod -a

9) update initramfs:

sudo update-initramfs -u

10) Remove leftovers

sudo find /etc/ | grep hailo

11) Reboot

sudo reboot now

Complete setup:

1) Enable PCIe Gen 3

sudo raspi-config → Navigate to Advanced Options → PCIe Speed

2) System preparation

sudo apt update

sudo apt full-upgrade -y

sudo rpi-eeprom-update -a

sudo reboot

3) Install DKMS

sudo apt install dkms

4) Install Hailo software infrastructure

sudo apt install hailo-h10-all

5) Install hailo-apps (demo applications)

git clone GitHub - hailo-ai/hailo-apps

cd hailo-apps

sudo ./install.sh

6) Test the installation

source setup_env.sh

hailo-detect

Hi @user459 ,

“Pulling a model makes it start the ollama server and then I cant actually download any models.”:

In the first terminal window, Hailo Ollama runs in the background.
In the second terminal window, you can execute commands such as pulling models or starting a chat.
I tested this again: after a pull command finishes, the second terminal returns to idle, ready for the next command (like pulling another model, starting a chat, or running any other CLI command).

Thanks Michael, I’m going to start with a fresh SD card this evening so will update on how I get on.