Am hoping for help to determine error here. First let me say I am completely new to the pi. Am trying to do some DIY astrophotography with the pi zero and the v2.1 camera. Bought pi zero, cable and board thru reputable online retailer(Adafruit) and have followed a few different tutorials to get it the pi zero up and running. When i plug in the camera and try the demo from here:
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
sleep(10)
camera.stop_preview()
I get this:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 522, in _init_camera
prefix="Failed to create camera component")
File "/usr/lib/python3/dist-packages/picamera/exc.py", line 191, in mmal_check
raise PiCameraMMALError(status, prefix)
picamera.exc.PiCameraMMALError: Failed to create camera component: Out of memory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/camera.py", line 4, in <module>
camera = PiCamera()
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 488, in __init__
self.STEREO_MODES[stereo_mode], stereo_decimate)
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 526, 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 bought a second pi and camera for thinking it could be a bad board, or that i zapped the camera with static, still get above error. Added the "force_board_rev=0x00093" to no avail. Any help is greatly appreciated.
FritzTX

