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

Python • Re: Pygame.mixer missing - thought I installed all dependencies (incl libsdl2.0-mixer-{2.0-0,dev}

$
0
0
Using stock Bookworm 64-bit on a Pi3+, I created a venv with system packages, then installed pygame

Code:

pip install -U pygame==2.6.0 --user
OK. Then run python and import pygame.mixer - all OK

Code:

pythonPython 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import pygame.mixerpygame 2.6.0 (SDL 2.28.4, Python 3.11.2)Hello from the pygame community. https://www.pygame.org/contribute.html>>>
Maybe it is different on yours?

Statistics: Posted by neilgl — Mon Mar 10, 2025 4:52 pm



Viewing all articles
Browse latest Browse all 1225

Trending Articles