PDA

View Full Version : How do i get pygame on jaunty?



xZachtmx
June 10th, 2009, 08:23 PM
Ok i have python 2.6 and idle for python 2.6 but installing pygame for python is kinda confusing... where do i get it and how do i install it? :D thanks!

Can+~
June 10th, 2009, 08:56 PM
sudo apt-get install python-pygame

xZachtmx
June 10th, 2009, 09:59 PM
ok i did that... but where does it install it? cant find it :(

Can+~
June 10th, 2009, 10:45 PM
What do you mean?

Pygame is not a GUI to create games, is a library to use in python to create (but not limited to) games in SDL.

import pygame

Here's a tutorial:
http://www.learningpython.com/2006/03/11/creating-a-game-in-python-using-pygame-introduction/

xZachtmx
June 11th, 2009, 02:36 AM
Yea my bad... was used to windows.. you had to put it in the python directory folder... thanks for tutorial btw