Re: [pygtk] pygtk import problem

2003-01-19 Thread Christian Reis
On Sat, Jan 18, 2003 at 05:41:39PM -0700, Jay Graves wrote: no problem, works great. However on machine 2 the same code fails on the import gtk I get a ImportError: No module named gtk. strace -eopen is your friend, give it a go. Take care, -- Christian Reis, Senior Engineer, Async Open

Re: [pygtk] pygtk import problem

2003-01-19 Thread Jay Graves
Thanks for the reply. I was able to use strace -eopen python to view the files that python was trying to use. On the machine that is working import gtk gets the files /usr/lib/python2.2/site-packages/gtk-2.0/gtk/__init__.py but on the machine that doesn't work it will not look for that file.

[pygtk] pygtk import problem

2003-01-18 Thread Jay Graves
I have 2 Debian (sid) machines both have python2.2 and the latest python2.2-gtk2 python2.2-gnome2 and python2.2-glade2 packages installed. On machine 1 I can import pygtk pygtk.require('2.0') import gtk no problem, works great. However on machine 2 the same code fails on the import gtk I get a