MCIPERF wrote:
On Jul 20, 9:57 am, Tim Golden <m...@timgolden.me.uk> wrote:
Gerry wrote:
I'm running Python 2.6 under XP.
I've installed Windows 32 extensions for Python 2.6 version 1.4
(pywin32-214.win32-py2.6.exe).
But If I try to import win32api, I get:
  File "C:\python_projects\euler\driveletters.py", line 1, in <module>
    import win32api
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.
Possibility?

TJG

Not a possibility (afaict) -- I am an administrator, according to the
control panel.

Not too many ideas, then, I'm afraid. Apart from the obvious --
uninstall and try again -- how about running Python with the
-vv option:

python -vv

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..

TJG
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to