Running Python and Pygame on a $30 Handheld Linux PC
2025-02-01
This post details how the author installed Debian and ran Python and Pygame on the ~$30 Miyoo A30 handheld. After flashing spruceOS, a Debian chroot environment with Python 3, Pygame, and necessary libraries was created using debootstrap. To solve graphics and input driver issues, essential libraries were copied from spruceOS into the chroot. Finally, a script was written to add a Pygame game to the spruceOS interface, successfully running a custom game on the Miyoo A30. While a 90-degree screen rotation issue remains, this post provides a complete guide to running complex programs on a low-cost handheld.
Development