Picrawler camera execution problem

I wanted to run the camera in picrawler, so I ran display.py in the samples.
Initially, it was resolved by typing pip3 install opencv-python because there was no cv2.
However, since then, the following error message has occurred, and I am not sure how to resolve it.
The camera module and Raspberry Pie connection are perfectly connected.

Launching villib 0.0.6 …
Traceback (most recent call last):
File “/home/pi/picrawler/examples/display.py”, line 2, in
from vilib import Vilib
File “/usr/local/lib/python3.9/dist-packages/vilib-0.0.6-py3.9.egg/vilib/init.py”, line 2, in
from .vilib import Vilib
File “/usr/local/lib/python3.9/dist-packages/vilib-0.0.6-py3.9.egg/vilib/vilib.py”, line 13, in
from picamera.array import PiRGBArray
File “/usr/local/lib/python3.9/dist-packages/picamera/init.py”, line 72, in
from picamera.exc import (
File “/usr/local/lib/python3.9/dist-packages/picamera/exc.py”, line 41, in
import picamera.mmal as mmal
File “/usr/local/lib/python3.9/dist-packages/picamera/mmal.py”, line 49, in
_lib = ct.CDLL(‘libmmal.so’)
File “/usr/lib/python3.9/ctypes/init.py”, line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: libmmal.so: cannot open shared object file: No such file or directory

When installing our module code:

  1. Please make sure that you follow our tutorial steps yet.

  2. If an error occurs during the installation process, please try to install a few times to see the results, sometimes due to network abnormalities, resulting in the installation of the code when the error occurs.

  3. If the result is the same error when installing several times, please provide us the complete screenshot of the error message, so that we can analyze and solve the problem.

PiCarX camera does not work?

  1. Please check whether the FFC cable of the camera is connected correctly, both the Raspberry Pi side and the camera module side need to be checked and plugged again. 2.

  2. Re-plug and unplug the lens of the camera module, it may be poor contact. 3.

  3. Make sure the camera function is enabled in the system, https://docs.sunfounder.com/projects/picar-x/en/latest/python/python_start/enable_i2c_camera.html?highlight= enable%20camera#

  4. Test if the system recognizes the camera by commanding sudo raspistill -o test.png. 5.

  5. If there is some error message reported, please provide us with screenshots or videos, or any other information you find helpful.

We recommend that you reinstall the Raspberry Pi system, and then go to the Raspberry Pi system terminal to download and install all module codes.
Tip: The recently updated raspberry pi bookworm system is not compatible with our products for the time being, we suggest you install the previous bullseye version of the system. (Please see our screenshot)
Raspberry Pi system download link:

Once you have finished downloading the Raspberry Pi system and unzipped it, then use the Raspberry Pi Imager tool to burn the system to the SD card.