When I run my python script the contains:

import picamera
from time import sleep
camera = picamera.PiCamera()

The script just runs and shows no live feed. Is this supposed to happen, because everywhere I read this is wrong. How can I fix this?

1 Answer 1


I'm not sure about your screen configuration but I'll tell you this, as far as I know, camera preview only works on the screen attached to the raspberry pi directly, you cannot see the feed through vnc.

  • I use an lcd touchscreen. (PiTFT )
    – ToXicL 16
    Jan 5, 2018 at 12:20
  • I don’t use VNC
    – ToXicL 16
    Jan 5, 2018 at 12:41
  • It doesn't work with the PiTFT I think, unless you use the HDMI mirror option. Sep 23, 2020 at 2:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.