[python-win32] Can't load wmi with Python 2.4
Mark Hammond
mhammond at skippinet.com.au
Wed Apr 6 06:36:03 CEST 2005
> "C:\Python24\Lib\site-packages\win32com\client\gencache.py", line
> 559, in AddModuleToCache
> dict = mod.CLSIDToClassMap
> AttributeError: 'module' object has no attribute 'CLSIDToClassMap'
>
> Does anyone know how to fix this? It looks like I'm missing some
> functionality.
It looks like something in win32com's makepy support broke. Try deleting
the win32com\gen_py directory and trying again.
If you are using Python 2.4, there are other strange issues at hand, so the
problem may persist.
Mark
More information about the Python-win32
mailing list