Greetings .... 

I'm having a problem trying to install PyGTK .... 

    Win98_SE
    Python 2.3 Enthought Edition

Downloaded the GTK Runtime and PyGTK from ....

http://prdownloads.sourceforge.net/gtk-win/GTK-Runtime-Environment-2.2.4.1.exe?download

http://www.pcpm.ucl.ac.be/~gustin/win32_ports/binaries/pygtk-2.0.0.win32-py2.3.exe

Installed the GTK Runtime first, 
added the  bin  and  lib  paths
to the Windows  path  environment variable
via the autoexec.bat file and re-booted ...

Then, installed PyGTK from the downloaded installer
listed above .... 

However, attempts to import gtk fail as follows ....

python
Enthought Edition build 1028
Python 2.3 (#46, Aug 11 2003, 09:34:05) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "K:\PYTHON23\Lib\site-packages\gtk-2.0\gtk\__init__.py", line 43, in ?
    from _gtk import *
ImportError: DLL load failed: A device attached to the system is not functioning.

Searching Google I found one other post in French,
that seemed to indicate the exact same ImportError problem,
but I don't recall if the Python or Windows versions
were the same as mine .... 

Finding a few other posts indicating import _gtk errors,
although with different error messages, I tried .... 

    o Whacking leftover versions of libgtk-xxx.dll
       in c:/windows/system .... 

           There was one old file of this type on my system, libgtk-0.dll,
           that had been there for a  LONG  time, even way before
           I had a Python installation, but deleting it makes no difference 
           with the currnent problem ....

    o import pygtk
       pygtk.require( '2.0' )
       import gtk

      # no change

This is especially frustrating since I previously had a working installation
of GTK and PyGTK installed on 2003-12-04 and somehow managed
to hose it up, I think with a separate installation of wGlade 
which has since been un-installed ....

I've even deleted the original downloaded install files,
spent a couple of hours cleaning out hte Windows registry,
re-downloaded the installs, and tried to install again
without success ....

Any clues as how this import problem might be resolved
would be greatly appreciated .... 

-- 
Cousin Stanley
Human Being
Phoenix, Arizona
_______________________________________________
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