2

I am trying to run Raspberry Pi camera module on Raspberry Pi 3 Model B using Python but I am getting this error:

OSError: libmmal.so: cannot open shared object file: no such file or directory 
Boris Verkhovskiy
  • 14,854
  • 11
  • 100
  • 103
  • 1 - check that pi camera is installed with pip3 otherwise install the `pip3 install --user picamera` or `sudo apt-get install python3-picamera` 2 - which OS do you use ? – Jerome Favrou Jun 11 '21 at 18:28
  • same issue face, when I disable camera with raspi-config and try libcamera-still -t 0 -o test.jpg command, it works, but on legacy camera support, libcamera-still -t 0 -o test.jpg did not work, – Tejas Tank Jan 30 '22 at 08:37

1 Answers1

0

If you are using the Raspbian distro, you probably have picamera installed by default. You can find out simply by starting Python and trying to import picamera:

Referenced

https://picamera.readthedocs.io/en/release-1.13/

Ugur Baran
  • 108
  • 6