Error : OSError: libbcm_host.so: cannot open shared object file: No such file or directory
Currently, when I run the picamera program in the virtual environment (env), this error is displayed:
Traceback (most recent call last):
File "/home/linh/docker-python/camera.py", line 1, in
In this virtual environment I have installed all the necessary libraries to run the program.
I am using raspberry pi 4 Model B+ and Picamera V3
Please help me fix this error and get your response as soon as possible, thank you very much !!
I have the same problem and do not know how to solve it
did you resolve this issue ?
Are you running a 32 bit or 64 bit OS?
Looking at the OP
I am using raspberry pi 4 Model B+ and Picamera V3
The v3 camera is ONLY supported by libcamera, not the legacy firmware camera stack. picamera is therefore incompatible with it as it is using the legacy stack. You need to use libcamera / rpicam-apps / picamera2.
If using a V1, V2, or HQ camera, then picamera can only work on the 32 bit OS, even if the SoC is capable of running a 64bit one.
The legacy stack is deprecated, and you are strongly advised to migrate to a libcamera based solution.