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.