Thursday, April 05, 2007

Python 2.5 install issue on some Windows XP machines

I have installed Python 2.5 from ActiveState on two machines now and each one was working pretty nice. But on one of my machines PythonWin refused to load, see below for the message:
Python for Win32
The application can not locate win32ui.pyd (or Python) (126)
The specified module could not be found.

Searching in ASPN network I found out that this is an open issue, see 68141. The good thing with this bug is that the workaround is quite simple if you have a working installation. Just copy pythoncom25.dll and pywintypes25.dll into c:\windows\system32 of the machine that PythonWin does not work. What if you don't have a working machine? Well, low and behold, I have it for you. Download it here. I'll be more than thankful if anyone can report to me that this issue is already fixed so that I can update this blog. Another work-around is to install pythonwin on top of currently installed version from Select pywin32-210.win32-py2.5.exe and download. ~ts~

No comments: