Unable to install HailoRT

None of the methods proposed in the documentation work for installing HailoRT on a Raspberry Pi 5 with a HAT+.

All install tentatives result in the following error when checking the device:

[HailoRT] [error] CHECK failed - Driver version (4.20.0) is different from library version (4.22.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)


I closely followed the instruction in the installation documentation and rebooted several times.

The command `hailo scan` works and outputs:

Hailo Devices:
[-] Device: 0001:01:00.0

I also tried to followed the instructions on the Raspberry Pi website using the `sudo apt install hailo-all` but the HailoRT versions are outdated (4.20 which requires Python 3.8 which is also obsolete). This method results in miss-matched version.

The drivers seems to be locked on 4.20 and installing the Hailo packaged does not update to the correct version (4.22).

Any suggestion on how to install the correct versions?

Had this problem before and fixed it by following omria’s reply on that post.

If you still have problems, you can go to the Hailo Developer Zone > SW Downloads and install HailoRT 4.22 for ARM64 Linux with whatever python version (3.9 - 3.12) you want.

Just make sure you purge the existing HailoRT on your pi.

1 Like

Thanks, this seems to partially work.

Unfortunately the command `sudo apt install hailo-all` still installs an outdated version of the stack (4.20 vs 4.22 at the time of writting).

I also tried to install using the *.deb* files of the developer zone but the firmware does not seem to be updated or installed using this method.