quick pythonwin corrupted installation question

Mark Hammond MarkH at ActiveState.com
Sun May 20 16:06:08 EDT 2001


{e.g. John Smith} wrote:

> I recently had my registry corrupted and I now receive the following
> message when trying to start Pythonwin 2.0:
> 
>   File "<string>", line 1, in ?
>   File "C:\Program Files\Python20\Pythonwin\pywin\framework\startup.py",
> line 49, in ?
>     exec "import %s\n" % moduleName
>   File "<string>", line 1, in ?
>   File "C:\Program
> Files\Python20\Pythonwin\pywin\framework\intpyapp.py", line 4, in ?
>     import win32api
>   exceptions.ImportError: No module named win32api
> 
> win32api.pyc is in \Python20\win32
> There must be a path setting missing somewhere?

The simplest solution is to reinstall.  If you use ActiveState's 
installer, it even has a "repair" option.

Mark.




More information about the Python-list mailing list