Trying to use picamera on bookworm fails:
>>> from picamera import PiCamera
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/picamera/__init__.py", line 72, in <module>
from picamera.exc import (
File "/usr/lib/python3/dist-packages/picamera/exc.py", line 41, in <module>
import picamera.mmal as mmal
File "/usr/lib/python3/dist-packages/picamera/mmal.py", line 49, in <module>
_lib = ct.CDLL('libmmal.so')
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ctypes/__init__.py", line 376, in __init__
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libmmal.so: cannot open shared object file: No such file or directory
now that I have a raspberry pi camera, I'm getting this error, so I'm not completely sure how to set it up in bookworm.
[0:23:50.367964185] [2423] INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5
Preview window unavailable
ERROR: *** no cameras available ***
(Presumably if I use some older version of raspberry pi OS, it will work?)
Trying to use picamera on bookworm fails:
now that I have a raspberry pi camera, I'm getting this error, so I'm not completely sure how to set it up in bookworm.
(Presumably if I use some older version of raspberry pi OS, it will work?)