-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
29 lines (16 loc) · 894 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Contributions and criticism welcome.
Goto http://www.pyglet.org/download.html
And download the pyglet.
"sudo python setup.py install" to install.
Pygame is necessary. Install this:
sudo apt-get install python-pygame
For more information:
http://askubuntu.com/questions/203630/easy-install-pygame-not-working-due-to-linux-videodev-h-no-such-file-or-direct
mv /usr/include/linux/videodev.h /tmp
sudo apt-get install libv4l-dev
cd /usr/include/linux
sudo ln -s ../libv4l1-videodev.h videodev.h
And this:
sudo apt-get install python-tk python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev
sudo yum install python-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel SDL-devel smpeg-devel numpy subversion portmidi-devel
sudo easy_install PIL