Softwareinstallation SunFounder Pan-Tilt-Kit fails (and probably all other kits relying on "vilib")

I started with a new SD-card and installation of Raspberry Pi OS (Legacy) Debian Buster and carefully followed all instructions in the doc.

Finally, on page Download and Run the Code — SunFounder Pan-tilt HAT Kit documentation there is the instruction “sudo python3 install.py” which throws two errors: first with the output “- install opencv-contrib-python==4.5.3.56… Error” and later with the output “- install tflite_runtime-2.1.0.post1-cp37-cp37m-linux_armv7l.whl… Error”

Some time ago I installed the software for another SunFounder kit and vilib installed without any error. However, this is not the case anymore. Perhaps some dependencies for opencv changed recently?

Please provide an updated installation script for the pan-tilt-kit

thank you

It is recommended that you use 32-bit Debian version: 11 (bullseye) first to see if the installation works.