I'm trying to take a time lapse with the raspberry pi camera module V2, but I keep getting the following error when I try to run the python:
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
Traceback (most recent call last):
File "gpioTest.py", line 13, in <module>
camera = picamera.PiCamera(resolution=(3264,2448))
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 431, in __init__
self._init_camera(camera_num, stereo_mode, stereo_decimate)
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 460, in _init_camera
"Camera is not enabled. Try running 'sudo raspi-config' "
picamera.exc.PiCameraError: Camera is not enabled. Try running 'sudo raspi-config' and ensure that the camera has been enabled.
I'm confused because the command works for the pi camera attatched to the actual pi board.
Online I saw people saying to reconnect the sunny connector which I tried (although it doesn't say sunny on my cameras) and the same error still shows up. I think I need to reconnect/add the cameras to the pi on the terminal but I'm not sure how to do that. Any thoughts?