User Tools

Site Tools


Tilbage til Programmering


Installation af Pygame for python3 manualt.

(1) hg clone
(2) cd pygame
(3) python3
    NOTE:  This confirms that you have the dependencies.
(4) python3 build
(5) sudo python3 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).

(6) python3
(7) At the '>>>' prompt, type "import pygame"
    VALIDATION:  If you get another '>>>' prompt, all is well.
programmering/python.txt · Last modified: 2016/08/14 22:37 (external edit)