Advertisement

playing sounds in python 3

Started by March 19, 2014 06:00 PM
1 comment, last by renega_666 10 years, 10 months ago

hello,

i'm having a lot of trouble just playing a simple wav or mp3 file in python 3.3, I googled recommended libraries to use, i've tried pygame and pymedia but they seem to be for python2 only, pycharm (my ide) doesn't even recognise them as installed. The only one it recognises is pyglet, but that gives me an import error: failed to load GLU

i'm running Arch linux.

Can anyone here recommend a simple way to play sounds files in python 3+ that works on WIndows and Linux?

thanks

http://pygame.info/downloads/ lists downloads for 3.2 and 3.3

Are you sure you've setup the right interpreter in pycharm? It's easy to forget if you've got multiple virtualenvs on the go.

Advertisement

> Can anyone here recommend a simple way to play sounds files in python 3+ that works on WIndows and Linux?

You could also try PySFML (http://python-sfml.org/)

This topic is closed to new replies.

Advertisement