Gerry <gerard.bl...@gmail.com> 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. > >\Python26\Lib\site-packages has: > >03/23/2009 08:35 AM <DIR> win32 >07/20/2009 09:08 AM <DIR> win32com >02/18/2009 01:21 PM <DIR> win32comext > >Can anyone offer a suggestion?
It is very unusual that those three directories should have different creation dates. Normally, all three would have the same date and time, from whenever you ran the installer. I would suggest that you go into Add and Remove Programs, uninstall pywin32, and run the installer again. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list