John ....
Thanks for the reply ....
Apparently, this is not a new problem,
and seemingly not unique to my system ....
Following is a link to the French post
dated 06 Mar 2002 that I mentioned ....
http://www.aful.org/wws/arc/python/2002-03/msg00011.html
ImportError: DLL load failed: Un p�riph�rique attach� au syst�me
ne fonctionne pas correctement
Alta Vista Translation ....
ImportError: DLL load failed: A peripheral attached to the system
does not function correctly.
I have close to 40 CousinStanley-hours invested now
in trying to repair this in order to avoid re-installing
the Python23 Enthought Edition that I use ....
However, if it comes to a Python re-install in order
to get back up and running with a GTK/PyGTK install,
I will do it ....
My concern is that I will go to the trouble of re-installing Python,
and then end up back in the same proverbial boat yet again
when I get to the GTK/PyGTK install ....
I have read and re-read the FAQ entry related to the install
that you mentioned and have checked the path values
numerous times ....
Between install attempts I cleaned the Windows Registry
by hand-editing and removing ALL entries found that
even closesly resembled GTK including Recent and Streamed
MRUs ....
The path entries set in my autoexec.bat file
contain no spaces, as I try to avoid that like the plague,
and point to the exact location where the GTK installer
put them at my request at install time ....
K:\Proc\GTK\2.0\bin
K:\Proc\GTK\2.0\lib
I had also previously tried moving these particular set path statements
to the beginning of the list so they are searched first as you suggested,
but it didn't help ....
Also had previously tried and was not successful with ....
import pygtk
pygtk.require( '2.0' )
import gtk
I first used GTK/PyGTK successfully under the Python 2.2.1 installation
that I still maintain on the same machine ....
GTK/PyGTK for Python22 was un-installed and new versions compatible
with Python23 were downloaded and successfully installed back on
2003-12-04 ....
I used these Python23 versions successfully for a few weeks ....
Then, I decided to try a version of wGlade in order to have
a RAD method for quickly building xxxxx.glade files that could
be used under PyGTK, not being interested in the C code generation
capabilities available with wGlade ....
The wGlade installation worked perfectly, generating a couple
of test files ....
However, my first attempt in Python23
at import gtk after the wGlade installation failed
with the ImportError that I'm currently getting ....
So, I say OK, that didn't work, I'll un-install wGlade
and everything should be back to normal .... Yo Ho Ho !!!!
It's really frustrating previously having a working
Python23/GTK/PyGTK install, including MatPlotLib( :-) ),
and not being able to re-install ....
Thanks again for your help and for MatPlotLib,
which I will be able to use again at some point
in the near future ....
Stanley C. Kitching
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/