siddhartha veedaluru wrote: > I have installed win32 extensions on my windows 2003 server > i'm using python 2.5.1. > > downloaded the wmi module 1.3.2 to my machine > used > > "python setup.py install" > > to install the module > > i tried run an example mentioned in the web page. it gave the following > error. > > File "C:\Python25\Lib\site-packages\wmi.py", line 157, in __init__ > comobj._oleobj_.GetTypeInfo().GetContainingTypeLib()[0].GetTypeComp() > pywintypes.com_error: (-2147319779, 'Library not registered.', None, None) > Script terminated.
Just to test, could you run this code to see if it produces the same result? (This is basically what the wmi module does behind the scenes). <code> import win32com.client win32com.client.GetObject ("winmgmts:") </code> TJG _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32