Yesterday I installed an application that retransmits the camera on web on-line, and now I can't use mu other python files that make photos.
Here I leave the tutorial and the code of one of my files:
https://elinux.org/RPi-Cam-Web-Interfac ... e_Shooting
Code: Select all
#!/usr/bin/python import time import picamera with picamera.PiCamera() as picx: picx.start_preview() time.sleep(5) picx.capture('mifoto.jpg') picx.stop_preview() picx.close()