Ashchris
Posts: 2
Joined: Sun Sep 07, 2014 8:43 pm

How do I install pygame

Sun Sep 07, 2014 8:56 pm

Hi, I need help with Pygame. I tried installing it via Sudo(Obviously), but it said I already had it installed. I tried finding the directory, but I couldn't find it anywhere. What do I do? :oops:

User avatar
socialdefect
Posts: 110
Joined: Mon Jun 25, 2012 9:02 pm
Location: Tilburg, the Netherlands
Contact: Website

Re: How do I install pygame

Sun Sep 07, 2014 11:09 pm

In Linux a program does not reside in it's own folder like Program files in windows or Applications on a Mac but the files are spread accross the system. Once installed you can use the PyGame library to write your games.
In the PyGame documentation you can read all about how to get started: http://www.pygame.org/docs/
== If it's not broke... I'm not done fixing it! ==

Sleep Mode zZ
Posts: 319
Joined: Sun Aug 19, 2012 5:56 am
Location: Finland

Re: How do I install pygame

Sun Sep 07, 2014 11:27 pm

Pygame is already installed for python (Python 2) and should work fine. If you are using python3 (Python 3) you have to install it. There is not any ready-made package for that so it will be a more complicated process than using apt-get. You can find instructions somewhere on this forum.

Ashchris
Posts: 2
Joined: Sun Sep 07, 2014 8:43 pm

Re: How do I install pygame

Wed Sep 10, 2014 11:25 pm

Whoops! turns out Pygame is installed WITH the Rasberry Pi. Just on an earlier verson of Python.

Return to “Beginners”