Hi, On Sat, Mar 5, 2011 at 10:36, Eric Colleu <[email protected]> wrote: > Dear all, > I am working on a python module which uses pyclutter in version 1.3.2. > Now I want to port this module to the gobject introspection implentation of > clutter. > Please, could you tell me the way to do this (needed packages and versions), > and give me some examples?
I don't know about your particular distribution. I would suggest to find out what introspection support is available in your distro version by asking on a downstream forum. But if you chose to build the sources yourself, this could help: http://live.gnome.org/PyGObject#Using_jhbuild About which versions, I would go with the last unstable releases of all the components involved. Regards, Tomeu > To test my installation on Ubuntu 10.10, I launch a test found on the web > [1] (joined to this mail). > But this script give me the following error: > ERROR:root:Typelib file for namespace 'Clutter' (any version) not found > Traceback (most recent call last): > File "/usr/lib/pymodules/python2.6/gtk-2.0/gi/importer.py", line 52, in > find_module > repository.require(namespace) > RepositoryError: Typelib file for namespace 'Clutter' (any version) not > found > Traceback (most recent call last): > File "test-gi.py", line 7, in <module> > from gi.repository import Clutter > ImportError: cannot import name Clutter > Thanks in advance for your help. > Eric > PS: "dpkg -l | grep gir1.0-clutter" command give me the following result: > ii gir1.0-clutter-1.0 > 1.2.12-0ubuntu13 GObject introspection data > for the Clutter 1.0 library > ii gir1.0-clutter-gtk-0.10 > 0.10.4-1ubuntu3 GObject introspection > data for the GTK+ Clutter library > --------- > [1] Python and gobject introspection : http://base-art.net/Articles/110/ > _______________________________________________ > clutter-app-devel-list mailing list > [email protected] > http://lists.clutter-project.org/listinfo/clutter-app-devel-list > > _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
