ImportError: No module named win32api

Mark Nenadov mark at freelance-developer.com
Wed Oct 9 15:58:02 EDT 2002


eddie wang wrote:

> Hi, I was trying to run a python script from my DOS prompt. I got the
> following error message:
> E:\>installer.py
> Traceback (most recent call last):
>   File "E:\installer.py", line 101, in ?
>     import win32api, win32file
> ImportError: No module named win32api
> 

That means you probably don't have Mark Hammond's Win32 extensions. It 
appears the script your are trying to run is looking for the Windows API 
module.

You can download the win32 extensions from the following URL and it should 
give you the win32* modules:

starship.python.net/crew/mhammond/win32/Downloads.html

Cheers,

-- 
Mark Nenadov,
Freelance Software Developer
web: http://www.freelance-developer.com
e-mail: mark at freelance-developer.com




More information about the Python-list mailing list