You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use Pygame.mixer to play a music file on my Raspberry Pi (Model A+),I got this: File "...", line 131, in init
pygame.mixer.init()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pygame/init.py", line 70, in getattr
raise NotImplementedError(missing_msg)
NotImplementedError: mixer module not available (ModuleNotFoundError: No module named 'pygame.mixer')
I tried to satisify all the requirements,but still got this?
The text was updated successfully, but these errors were encountered:
you can check your pygame version via command line (CMD) Sometimes it helps using latest versions. You can check it like
pip install pygame --upgrade writing on CMD.
or you can reinstall the pygame module, sometimes some libraries are not downloaded 100% of the time
or you can install SDL Dependencies either (Simple Direct Media Layer), pygame.mixer module relies on the SDL libraries, specifically SDL_mixer;
sudo apt-get update
sudo apt-get install libsdl2-dev libsdl2-mixer-dev
When I use Pygame.mixer to play a music file on my Raspberry Pi (Model A+),I got this:
File "...", line 131, in init
pygame.mixer.init()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pygame/init.py", line 70, in getattr
raise NotImplementedError(missing_msg)
NotImplementedError: mixer module not available (ModuleNotFoundError: No module named 'pygame.mixer')
I tried to satisify all the requirements,but still got this?
The text was updated successfully, but these errors were encountered: