Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5077

Troubleshooting • Error in Thonny I dont understand

$
0
0
Hi, I've been trying to recreate this code from this youtube video: https://www.youtube.com/watch?v=qs3KhLD ... el=Shilleh

However, when I hit "Run" I get this error:

>>> %Run stream2.py
Traceback (most recent call last):
File "/home/drahos/Desktop/stream2.py", line 2, in <module>
import picamera
File "/home/drahos/.local/lib/python3.9/site-packages/picamera/__init__.py", line 72, in <module>
from picamera.exc import (
File "/home/drahos/.local/lib/python3.9/site-packages/picamera/exc.py", line 41, in <module>
import picamera.mmal as mmal
File "/home/drahos/.local/lib/python3.9/site-packages/picamera/mmal.py", line 49, in <module>
_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


Can anybody help me solve this? :(

Statistics: Posted by andrew2k — Tue Apr 09, 2024 9:58 pm



Viewing all articles
Browse latest Browse all 5077

Trending Articles