Ask coding questions

← Back to all posts
(SOLVED) [Pygame][Audio Mixer] "No available audio device"


I've been trying to get my pygame program to play a bit of music, but I've come across an obstacle that I don't know how to get around. Whenever I attempt to run the program, I receive the following:

"pygame.error: No available audio device"

What exactly does that mean? Is there a way that I can get around it?

Thank you for your time,


Answered by mat1 (2491) [earned 5 cycles]
View Answer
mat1 (2491)

Unfortunately, currently does not allow you to play sounds in repls. If you would like to get this feature added, post it in the feedback board.
Please upvote my comment if it was helpful or useful. Thanks!


@mat1 Got it, thank you so much for the help!

21natzil (741)

Sorry, but audio players of any kind are not support. Don't fret however, this is something that's planned and will be included eventually.


@21natzil Glad to hear, thanks for the help!