Picar X v1, vilib install fail with raspios Legacy (bullseye)

I ordered my PiCar-X several monthes ago and received V1.
Assembly is done and was a great experience with my son but following the " Install All the Modules" part of the documentation lead to an error installing vilib
Installed OS: raspiOS legacy with rpi-imager
SSH access is OK, camera is functionnal with another SD-card installed with EZblock

pi@raspberrypi:~ $ git clone -b picamera2 https://github.com/sunfounder/vilib.git
Cloning into 'vilib'...
remote: Enumerating objects: 798, done.
remote: Counting objects: 100% (259/259), done.
remote: Compressing objects: 100% (134/134), done.
remote: Total 798 (delta 154), reused 181 (delta 109), pack-reused 539 (from 1)
Receiving objects: 100% (798/798), 32.23 MiB | 11.30 MiB/s, done.
Resolving deltas: 100% (455/455), done.
pi@raspberrypi:~ $ cd vilib/
pi@raspberrypi:~/vilib $ sudo python3 install.py
Start installing vilib 0.3.16 for user pi
Python version: 3.9.2
Raspbian version: 11 (32bit)

mediapipe is only supported on 64bit system.
Install vilib python package
 - pip3 install ./ ... Done
 - cleanup ... Done
apt install dependency:
 - dpkg configure ... Done
 - update apt-get ... Done
 - install python3-libcamera ... Done
 - install python3-picamera2 ... Done
 - install rpicam-apps ... Error
 - install python3-pyqt5 ... Done
 - install python3-opengl ... Done
 - install python3-opencv ... Done
 - install opencv-data ... Done
 - install ffmpeg ... Done
 - install libgtk-3-0 ... Done
 - install libxcb-shm0 ... Done
 - install libcdio-paranoia-dev ... Done
 - install libsdl2-2.0-0 ... Done
 - install libxv1 ... Done
 - install libtheora0 ... Done
 - install libva-drm2 ... Done
 - install libva-x11-2 ... Done
 - install libvdpau1 ... Done
 - install libharfbuzz0b ... Done
 - install libbluray2 ... Done
 - install libatlas-base-dev ... Done
 - install libhdf5-103 ... Done
 - install libzbar0 ... Done
 - install libopenblas-dev ... Done
pip3 install dependency:
 pip3 install with --break-system-packages
 - update pip3 ... Done
 - install tflite-runtime ... Done
 - install Flask ... Done
 - install imutils ... Done
 - install qrcode ... Done
 - install pyzbar ... Done
 - install pyzbar[scripts] ... Done
 - install readchar ... Done
 - install protobuf>=3.20.0 ... Done
 - install numpy==1.26.4 ... Done
  mediapipe is not supported on this platform... Skip
Create workspace
 - create dir ... Done
 - copy workspace ... Done


Error happened in install process:
install rpicam-apps error:
  Status:100
  Error:Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package rpicam-apps

Try to fix it yourself, or contact service@sunfounder.com with this message
pi@raspberrypi:~/vilib $

rpicam-apps seams to not be available to install, libcamera-hello is present and functionnal.
Can you help us ?

Do you mean installing all the library codes on the EzBlock OS image system?

EzBlock OS is not compatible with installing all those library codes. You need to prepare two SD cards: one for controlling with the EzBlock app and another for controlling with Python. They cannot be used on the same SD card.

There are two ways to operate:

  1. Python Control: This involves downloading and installing all the codes on the Raspberry Pi OS and using Python commands to control the PiCar-X product. You can find more information here: Play with Python.
  2. EzBlock APP Control: This requires installing the specific EzBlock OS image to connect and work properly with the app. More details can be found here: Play with EzBlock.

Thanks for your reply but no, its not what i mean.
I installed RaspiOS Legacy and followed “Play with python” documentation, then i encoutered a prolem with the installation of vilib.
I did a test with another SD-card on wich i installed EZ-block, only to validate that the camera was functional.
I think there may be a problem with the rpicam-apps dependency

If I’ve correctly understand your question, then, it was only since Raspberry Pi OS Bookworm that the camera capture applications were renamed from libcamera-* to rpicam-*

So if you’re using a legacy OS, it won’t be available. So I think you either need to upgrade OS to bookworm, or downgrade picarx SW to legacy.

If I’ve misunderstood the query, then check here for more information

https://www.raspberrypi.com/documentation/computers/camera_software.html

Yes. SPF650 is correct.
We recommend installing all library codes using the new Bookworm system.