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.
> 
> 
> This may be a problem which is addressed in the FAQ due to some other dll being 
> picked up in my path, but if so, I have no idea of what dll load is failing or how 
> to track it down.
> Trying to import gobject directly fails too
> >>> import gobject
> 
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in -toplevel-
>     import gobject
> ImportError: DLL load failed: One of the library files needed to run this 
> application cannot be found.
> 
> 
> Any help would be greatly appreciated.
> Gary
> -- 
> __________________________________________________________
> Sign-up for your own personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
> 
> CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
> http://corp.mail.com/careers
> 
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

-- 
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to