STrange error importing win32gui

John J. Lee jjl at pobox.com
Wed Nov 12 13:57:55 EST 2003


joconnor at cybermesa.com (Jay O'Connor) writes:

> I'm using Python 2.3 on windows and trying to use the win32 libs.  I
> keep getting the following error
> 
> >>> import win32gui
> 
> Traceback (most recent call last):
>   File "<pyshell#6>", line 1, in -toplevel-
>     import win32gui
> ImportError: DLL load failed: A device attached to the system is not
> functioning.
> 
> I'm not sure what it means ot how to fix it.  Any thoughts?

Don't you just love those informative Windows error messages?

I had that error message before (can't remember the circumstances),
and never found out what the problem was.  Had to work around it
rather than fix it.


John




More information about the Python-list mailing list