I use the ./install.sh command and an error pops up

Hi,
The Hailo package on the Pi is integrated as part of the Pi OS release. And got dependencies on other packages. You are not using the default python which comes with the OS. Your python version is 3.8.18 while the default should be 3.11. Hailo python binding are compiled for python 3.11.
I suggest reverting to the original Pi OS defaults.