Date: Fri, 14 Mar 2008 12:59:26 +0000
From: Tim Golden <[EMAIL PROTECTED]>
Subject: Re: [python-win32] Library not Registered Error while running
       WMI example script
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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
-------------------------------------------
Hi ,

I have tried the snipped
The script just terminted with any output or error.


Thanks
Siddhartha.
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to