[python-win32] Library not Registered Error while running

Tim Golden mail at timgolden.me.uk
Mon Mar 17 09:34:27 CET 2008


siddhartha veedaluru wrote:
>> From: Tim Golden <mail at timgolden.me.uk>
>> 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.

Well that's a shame (for me): it means that WMI is working
ok on your machine in general... although I'd have been
surprised if that weren't the case!

Just to narrow down, could you run these lines in the interpreter
to see if/where the error comes up:

<code>
import wmi
c = wmi.WMI ()
c.Win32_OperatingSystem ()
</code>

Thanks
TJG


More information about the python-win32 mailing list