Tilbage til Programmering


Python

Installation af Pygame for python3 manualt.

(1) hg clone https://bitbucket.org/pygame/pygame
(2) cd pygame
(3) python3 config.py
    NOTE:  This confirms that you have the dependencies.
(4) python3 setup.py build
(5) sudo python3 setup.py install
    NOTE:  On my machine, I have the distro's python3.2 installed (which is in
           the /usr/lib directory).  This step places the pygame module into
           /usr/local/lib -- which is what you want (per Sergey's suggestion).

TEST
(6) python3
(7) At the '>>>' prompt, type "import pygame"
    VALIDATION:  If you get another '>>>' prompt, all is well.