--- Gary Ruben <[EMAIL PROTECTED]> wrote: > I solved it. > I had missed the link in the FAQ to the installers at > <http://prdownloads.sourceforge.net/gtk-win/> and had tried to > install it the hard way and was probably missing some dependencies. > It's sorted now - thanks to those who made suggestions offlist. > Gary > > ----- Original Message ----- > From: "Gary Ruben" <[EMAIL PROTECTED]> > Date: Thu, 16 Oct 2003 01:59:28 -0500 > To: [EMAIL PROTECTED] > Subject: [pygtk] Win32 install problem - import gtk fails > > > Hi, > > I'm having problems after installing PyGTK for Win32 from Cedric > Gustin's binaries. > > I'm running Python 2.3 under Windows 98. > > I've downloaded and run pygtk-2.0.0.win32-py2.3.exe > > It creates a gtk-2.0 directory under site-packages and gtk under > that. > > ie: > > ...Python23\Lib\site-packages\gtk-2.0 > > ...Python23\Lib\site-packages\gtk-2.0\gtk > > > > When I try > > >>> import gtk > > it fails and I get a traceback > > > > Traceback (most recent call last): > > File "<pyshell#0>", line 1, in -toplevel- > > import gtk > > File > "C:\APPS\PYTHON23\Lib\site-packages\gtk-2.0\gtk\__init__.py", line > 39, in -toplevel- > > import gobject as _gobject > > ImportError: DLL load failed: One of the library files needed to > run this application cannot be found.
I just joined this list, and with the express purpose of asking about this same installation problem. Unfortunately, I have already tried using the installers referred to above, but it hasn't helped. Let me add two other odd tidbits to my problems: (1) Sometimes "import gtk" fails the first time, but works if I do it again immediately afterward; (2) Even if it does work the second time, I can never successfully "import gtk.glade". I would appreciate any help I can get, as I have been banging my head on the wall trying to get this to work for a week. ===== Sincerely, Derek __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/