waveform80 / picamera

A pure Python interface to the Raspberry Pi camera module
https://picamera.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.57k stars 357 forks source link

PiCamera out of resources #510

Open NedBark opened 6 years ago

NedBark commented 6 years ago

My camera will not work no matter what and I require help please. I have a V2.1 camera RPI 3B+ and I just reinstalled the os fresh. First thing I did is connect camera, check for uptdates and then wrote this script:

from picamera import PiCamera

camera=PiCamera()

PyCameraMMALError: Failed to enable connection: Out of resources

This is where I get the out of resources error. I made sure camera is enable in configuration, GPU memory if 512MB so that is def not the problem HELP pls I am trying to fix this issue for 8 hours

No I am not using the camera in ANY other process. This is a fresh OS install I did not touch anything but plug the camera in and check for firmware+software updates, increase gpu memory and then reboot.

waveform80 commented 6 years ago

Does the camera work with raspistill from the command line? That's usually a good place to start debugging things. If you can get it working with raspistill we can be certain there's no hardware issue at play here.