raspberry pi - Rasbberrypi - picamera not working -
i have installed picamera package , when try run following program, end error.
code:import time import picamera picamera.picamera() camera: camera.start_preview() time.sleep(2) camera.stop_preview()
error: attributeerror: 'module' object has no attribute 'picamera'
please suggest on resolving above error.
regards, richi
in case, should update installation command sudo apt-get update sudo apt-get upgrade , enable camera port using sudo raspi-config
Comments
Post a Comment