How to get PyKaraoke 0.7.5 running on OpenSuSE 12.1

Ok, i had some problems getting PyKaraoke 0.7.5 running on my 12.1 so i post this little guide to help anyone who want to try the new version of PyKaraoke.

First i was annoyed by “ImportError: No module named wxversion” but i managed to solution the problem.

Step 1 - Getting the prerequisites

Open a terminal and do:

sudo zypper install python-dev python-pygame libwxgtk-python libsdl-dev python-mutagen

then

sudo zypper install timidity

then

sudo zypper install slang-devel

Step 2 - Get the WxWidgets

I searched the words “wx python” on the software.opensuse.org, and there was python-WxWidgets… anyway here is the link:

http://software.opensuse.org/search/download?base=openSUSE%3A12.1&file=openSUSE%3A%2F12.1%2Fstandard%2Fi586%2Fpython-wxWidgets-2.8.11.0-10.1.2.i586.rpm&query=wx+python

That is for 32 bit OpenSuSE.

Step 3 - Run the pyKaraoke

Again in a terminal:

python pykaraoke.py

If i have time to finish the installation (still getting some errors maybe because of the differences of the OpenSuSE distro) will update the post.

To complete the setup of pykaraoke you should have installed the python-devel, and SDL-devel first: sudo zypper install python-devel SDL-devel

Then you can run python setup.py install as root and complete the setup.

Using your instructions, will MP3+G files work?

Try this: it works for me.

wget ftp://ftp.pbone.net/mirror/packman.iu-bremen.de/suse/openSUSE_12.1/Essentials/x86_64/libsmpeg-0_4-0-0.4.5-1.4.x86_64.rpm

wget ftp://ftp.icm.edu.pl/vol/rzm2/linux-tld-linux/stable/main/x86_64/RPMS/SDL_mixer-1.2.11-1.x86_64.rpm

wget ftp://ftp.icm.edu.pl/vol/rzm2/linux-tld-linux/stable/main/x86_64/RPMS/SDL_mixer-devel-1.2.11-1.x86_64.rpm

rpm -ivh libsmpeg-0_4-0-0.4.5-1.4.x86_64.rpm SDL_mixer-1.2.11-1.x86_64.rpm SDL_mixer-devel-1.2.11-1.x86_64.rpm

Don’t forget to create symbol-links in /lib and /lib64 for libSDL_mixer-1.2.so.0 , installed in /usr/lib/libSDL_mixer-1.2.so.0.10.1