You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting an IndexError when running picamera2 on rpi 5. I was able to run this program awhile ago but now im getting this error every time I run it.
picam2 = Picamera2()
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 246, in __init__
camera_num = self.global_camera_info()[camera_num]['Num']
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
IndexError: list index out of range
Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered:
Maybe start by having a look at what Picamera2.global_camera_info() is returning. Perhaps your camera (or cameras) are not being detected for some reason?
Getting an IndexError when running picamera2 on rpi 5. I was able to run this program awhile ago but now im getting this error every time I run it.
Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered: