Installing Pygame for Python3 on Fedora 14

This post is going to show you how tho install Pygame for Python3 on Fedora 14

First you have to install all the dependencies for this type the following command

1.sudo yum install python3 python3-tools python3-devel SDL SDL-devel  SDL_image SDL_image-devel SDL_mixer SDL_mixer-devel SDL_net  SDL_net-devel SDL_ttf SDL_ttf-devel smpeg smpeg-devel portmidi  portmidi-devel libjpeg-devel libpng-devel

Now download pygame from the following link http://www.pygame.org/download.shtml

Then for installing pygame you have to type following commands

cd pygame
python3 config.py
python3 setup.py build
phython3 setup.py install
now while installing the this you will get the following error message

/usr/bin/ld: cannot find -lprottime
collect2: ld returned 1 exit status

now to fix this error

cd /usr/lib
ln -s libportmidi.so.0 libporttime.so

Pygame rocks




Advertisements

2 thoughts on “Installing Pygame for Python3 on Fedora 14

  1. I’m not really hopefull for getting an answer since this post is like historical , But is there anyway to make pygame which is integrated with python 2.7 , be integrated with python3.2 ? i have the pygame on my python 2.7 , but i upgraded from that to python3.2 and now the pygame just works on python2.7 , anyways to make that work for the lastes version of python ?

    thanks in advance

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s