Hi, I'm new to the list, new to GTK and pretty new to Python, though not new to computing. I found a thread, about a year ago, on DLLs and I didn't see a full resolution. I'd appreciate advice on a successful strategy to fix it.
The OS is XP 64 bit. I'm tied to this OS. All the Python and gtk loads are 32 bit. Python 2.6, pygtk2.12.1-3-win32 I've tried Python 2.7 with the pygtk all-in-one loader Executing import gtk, I get a traceback whose last entry is: File "c:\Python26\lib\site-packages\gtk-2.0\gobject\constants.py, line 22, in <module> from _gobject import type_from_name ImportError: DLL load failed: The specified procedure could not be found.. I tried Dependency Walker on c:\python\lib\site-packages\gtk-2.0\gobject\_gobject.pyd I replaced or imported the DLLs that it couldn't find, msvc90.dll, ieshims.dll and wer.dll. Now it complains about ncrypt.dll and I suspect it will complain about more when I replace that. More disturbing are the errors it reports about "Modules with different CPU types were found". Should I, instead, compile gtk and perhaps Python using MinGW or even a Microsoft toolchain? If anyone has advice on this, including the correct toolchain, please let me know. Has anyone successfully compiled gtk and Python on 64 bit XP? Should I continue walking down the dependencies? Does that path lead to a good result? Has anyone been able to run gtk with Python on a 64 bit XP OS? It seems to work on 32 bit XP. Until I hear more, I'll try both paths, replacing DLLs and compiling from source. I'm leaning towards compiling with MinGW and will try that first before the MS tools. The Microsoft tools are always very large and I have a very restrictive firewall, needing a couple of ftp hops to load tools. TIA, Kris
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
