<snip>
> Is there a
> way to find the imported version of some library from the python prompt?

Not sure if this is what you mean, but the following can be useful:

import gtk
gtk.__file__
gtk.gtk_version
gtk.pygtk_version

I'm at work away from my setup so I can't give you the output, but
each of the above can be useful trying to debug a situation like yours
(especially the __file__ attribute, which will tell you where the
module you're looking at came from).

I'd bet you have a gtk/ hanging around in /usr/local/python/site-lib/
or some such which is getting loaded before your apt-getted versions
get touched.

Tom
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to