|| at Jul 21, 2009 at 5:07 pm
On Jul 20, 9:57 am, Tim Golden wrote:
I'm running Python 2.6 under XP.
I've installed Windows 32 extensions for Python 2.6 version 1.4
But If I try to import win32api, I get:
File "C:\python_projects\euler\driveletters.py", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
Used to be you'd get this error if you installed as a
non-admin user. Don't know if that's still an issue.
Not a possibility (afaict) -- I am an administrator, according to the
Not too many ideas, then, I'm afraid. Apart from the obvious --
uninstall and try again -- how about running Python with the
to get more information about what it's trying to get,
and/or running sysinternal's Process Explorer at the
same time to spot the DLL Dependencies.
I have seen a (not too similar) problem when running TortoiseHg
and the pywin32 extensions, since the shell import's TortoiseHg's
version of various pywin32 DLLs before I try to import them
myself for some other purpose, and the two versions clashed
dramatically (crashed Explorer hard, I seem to remember).
Just in case that rings any bells..