Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies broken as of 2022 #30

Open
nynycius opened this issue May 26, 2023 · 0 comments
Open

Dependencies broken as of 2022 #30

nynycius opened this issue May 26, 2023 · 0 comments

Comments

@nynycius
Copy link

nynycius commented May 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant