Sumber Belajar‎ > ‎Programming Language‎ > ‎Python‎ > ‎Python BootCamp‎ > ‎Cookbook‎ > ‎

Instalasi Pygame untuk Python 3 ?


Laskar@OpenThinkLabs$svn co svn://seul.org/svn/pygame/trunk pygame
Laskar@OpenThinkLabs$cd pygame

Installl dependencies :

Laskar@OpenThinkLabs$sudo apt-get install python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev  libavformat-dev libswscale-dev

Laskar@OpenThinkLabs$sudo python3 setup.py build
Laskar@OpenThinkLabs$sudo python3 setup.py install

Done!


Comments