Thursday, November 22, 2007

How to fix 'COM Makepy utility' error in Python 2.3.3?

Problem Description :
I have been using Python 2.3 for last 4-5 months without any problem. Today, I have tried installing Python 2.3.3 as well as Python 2.3 pywin32 extensions on Windows 2000 Server. But when I tried to Run 'COM Makepy utility' in PythonWin editor, I got error 'Error executing COM Makepy utility' and no dialog box appeared to allow me to create py equivalent.This is the first time I have received this error. Because of this I am unable to run my application. The same code is running on other Windows XP, 2K and 2003 server machines. I don't understand why this error has started appearing.

Solution:
Please make sure you are using build 210 of pywin32 (see sf.net/projects/pywin32).
Run pywin32-210.win32-py2.3.exe file on the affected pc.

1 comment:

Extracting Data From Web Pages said...

Hi,

This is a bug-fix release for Python 2.3 that fixes a number of bugs, including a couple of serious errors with weakrefs and the cyclic garbage collector. Now windows users should download the windows installer, Python-2.3.3.exe, run it and follow the friendly instructions on the screen to complete the installation. Thanks a lot.