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
@ SunFounder_Moderator
The question is where is the “legacy” branch of vilib.
NOT
“It is recommended that you use 32-bit Debian version: 11 (bullseye) first to see if the installation works.”
I have the same issue, I have Two “old” Raspberry Pi 4 Model B Rev 1.4 with 8GB of RAM from 2021. I have tried 32-bit Debian version: 11 (bullseye) [and 64 Bit], nevertheless the operating systems (bullseye and about) does not “see” the cameras. So, after many weeks for hardware troubleshooting which failed because I had repeatedly downloaded Debian version: 11 (bullseye).
Over weekend I fell back downloaded to Raspios-buster-armhf-lite-2021-1-11_EzBlockOS-v1.2.3 which COULD “see” the cameras, however did not include the pi desktop. This image also reported the same “vilib” error as above
System not be supported.Requires system in bullseye(11) or newer.
Please use newer system or use “legacy” branch.
Thinking that while the EzBlockOS package could see the cameras it was still out of date for vilib, downloaded 2022-04-04-raspios-buster-armhf.img.xz which is a newer version of Raspberry Pi OS Buster
vilib is still reporting that I need to use the “legacy” branch.
Start installing vilib 0.3.8 for user tlc
Python version: 3.7.3
Raspbian version: 10 (32bit)
System not be supported.Requires system in bullseye(11) or newer.
Please use newer system or use “legacy” branch.
Are you still encountering difficulties or errors while trying to install the code library? Please provide us with a complete screenshot of the error to help us analyze and resolve the issue. We also recommend sharing the version of the system you are currently using.