Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3436

Python • Running script with pygame headless

$
0
0
Hi! First time asking a question.
I made a python script that is intended to be run headless, without a monitor. However, the script doesn't run when pi is not connected to the screen. While I was searching for a solution, I found out it's an issue with pygame library not being able to run without a proper screen. I need pygame because I use key presses in the script.
Information on solving this was pretty vague, and it didn't work for me, so I'm asking here.
I'm using rpi3b+ with pi OS lite.

Statistics: Posted by srx00 — Tue Aug 27, 2024 3:22 pm — Replies 1 — Views 27



Viewing all articles
Browse latest Browse all 3436

Trending Articles