ing-chtioui
Posts: 5
Joined: Thu Feb 26, 2015 3:33 pm

install pymedia on raspberry

Sat Mar 21, 2015 10:21 am

Hey
i wont to play an mp3 in my program python , some one told me that i have to install pymedia to do that
i wont to know how to install it or is there another way to play the mp3
thnx for the answer ;)

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: install pymedia on raspberry

Sat Mar 21, 2015 10:54 am

pymedia is not available for simple installation from the standard Raspbian repositories. (This may mean there is some problem with building it for Debian/Raspbian.)

If you want to try building it yourself the program webpage is here: http://pymedia.org/

Alternatively, the packages vlc and omxplayer are both capable of playing .mp3 files and there are many examples online of how to call them from within a python script.

Return to “Troubleshooting”