Install PyMT on Ubuntu

InstallationInstall PyMT on MacOSX

Ubuntu

Ubuntu 10.10 (Maverick)

sudo apt-get install python-pymt

And then you could launch the demo :

python -m pymt.tools.demo

Or execute the desktop application :

cd /usr/share/pymt-examples/
python launcher.py

Ubuntu 9.10 / 10.04

9.10 (Karmic Koala) / 10.04 (Lucid Lync)

First, install all needed packages :

sudo apt-get install python-setuptools python-pygame python-opengl python-numpy python-gst0.10 python-cairo python-imaging python-enchant gstreamer0.10-plugins-good cython python-dev build-essential libgl1-mesa-dev libglu1-mesa-dev

Then install the PyMT package :

sudo easy_install -U pymt

And test if it works:

python -m pymt.tools.demo

You should see something like :

 [INFO   ] PyMT v0.5
 [INFO   ] [Core    ] Using accelerate module
 [INFO   ] [Logger  ] Record log in /home/XXX/.pymt/logs/pymt_xxx.txt
 [INFO   ] [No OpenGL_accelerate module loaded] No module named OpenGL_accelerate
 [INFO   ] [Graphx  ] Using accelerate graphx module
 [INFO   ] [Camera  ] using <gstreamer> as camera provider
 [INFO   ] [Text    ] using <pygame> as text provider
 [INFO   ] [Video   ] using <gstreamer> as video provider
 [INFO   ] [Spelling] using <enchant> as spelling provider
 [INFO   ] [OSC     ] using <multiprocessing> for socket
 [INFO   ] [Loader  ] using <pygame> as thread loader
 [INFO   ] [Window  ] use Pygame as window provider.
 [INFO   ] [Window  ] OpenGL version <3.3.0 NVIDIA 256.35>
 [INFO   ] [Base    ] Start application main loop

Install examples

wget http://pymt.googlecode.com/files/pymt-examples-0.5.tar.gz
tar xzf pymt-examples-0.5.tar.gz
cd pymt-examples-0.5
python launcher.py