Skip to content

Dependencies broken as of 2022 #30

@nynycius

Description

@nynycius

Hi,

Due to changes on how raspberry pi handles its cameras modules this project is broken at the moment.
I was wondering if there any plans to update it for versions Bullseye 11 , and if not I would appreciate if you could tell me what version you were using when this was still working.
I also included bellow the error message I got when I tried to run this code on Bullseye 11 in case anyone has been having the same issue.
If anyone also has a solution I would greatly appreciate it.

Traceback (most recent call last):
File "/home/pi/pi-camera-stream-flask/main.py", line 7, in
from camera import VideoCamera
File "/home/pi/pi-camera-stream-flask/camera.py", line 6, in
from imutils.video.pivideostream import PiVideoStream
File "/usr/local/lib/python3.9/dist-packages/imutils/video/pivideostream.py", line 2, in
from picamera.array import PiRGBArray
File "/usr/lib/python3/dist-packages/picamera/init.py", line 72, in
from picamera.exc import (
File "/usr/lib/python3/dist-packages/picamera/exc.py", line 41, in
import picamera.mmal as mmal
File "/usr/lib/python3/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions