469,923 Members | 1,544 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,923 developers. It's quick & easy.

How to install pyGTK(2)

Hi Pythoneers,

Im interested in trying some gui programming with the GTK2 toolkit. I
found this brief article,(http://www.linuxjournal.com/article.php?sid=6586),
that speaks about utilising 'Glade' to help build these gui.

I downloaded the pyGTK tarball from
http://www.daa.com.au/~james/software/pygtk/ i do the usual ./configure,
make, makeinstall.

Everything goes well, but when i try a sample script python says it can't
import gtk (i did a help, modules and there is no gtk module listed).
After googling for sometime i found a pygtk slackpack (im running slack
9.1 by the way ;)), and installed that instead.

I then tried the sample script again and this time no gtk problems( the
module is now listed). but it now bombs out on the second import line:
import libglade???

I have glade2 installed, and libglade, but i check python modules and
there is no libglade module listed. Ive googled, but now im getting


I'm really just after a step by step guide to what to download and where
to install everything i need to get started building gui's with
glade+pyGTK+python. This would be much appreciated.

I promise i googled hard, but sometimes i can't see the wood for the trees :/
Getting my pyGTK, pyGTK2+pyGLADE+python-libglade's all mixed up and just a
little lost.

Any help would be warmly received.


Jul 18 '05 #1
0 1275

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by He Jibo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.