inproc server cannot find pythoncom25.dll
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
I am using an automation add-in for Excel implemented in Python. Excel cannot locate pythoncom25.dll unless the registry key {CLSID}\InprocServer32 contains the full pathname of pythoncom25.dll.
It looks like changing line 210 in win32com\server\register.py to:
dllName = pythoncom.__file__
will fix the problem. However I am not sure if this will cause problems elsewhere.
pythoncomxx.dll should be in system32 and therefore on your path. This is a very old bug report, so I doubt you still have interest, but please reopen this bug if you are still having problems.