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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -