PDA

View Full Version : pygtksourceview in win32



giuspen
October 9th, 2009, 03:02 PM
Hi,
did anybody have successfully installed the windows installer for pygtksourceview?
I run python 2.5.4 and have already successfully installed and used GTK and pyGTK.

I tried the one available in:
http://ftp.gnome.org/pub/gnome/binaries/win32/pygtksourceview/2.2/
after having installed gtksourceview:
http://ftp.gnome.org/pub/gnome/binaries/win32/gtksourceview/2.2/"
but when i do "import gtksourceview" I get the error "ImportError: No module named gtksourceview".

Thanks in advance,
Giuseppe.

giuspen
October 26th, 2009, 02:31 PM
If anybody interested, pygtksourceview is obsolete and pygtksourceview2 must be used instead.
The documentation can be found here (http://www.gnome.org/~gianmt/pygtksourceview2/index.html).
This way the correct import statement will be

import gtksourceview2
and this works fine.