Newbie question

|e0 p0q0b0d at gmail.com
Wed Jul 9 08:37:20 CEST 2008


Hi list,

i'm running Ubuntu Hardy Desktop and i've installed Tim Golden WMI.
However importing wmi module i have this error:

>>> import wmi
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/wmi.py", line 141, in <module>
    from win32com.client import GetObject, Dispatch
ImportError: cannot import name GetObject

I can import win32com.client without problems.
Do i need to install any extra package?
On win i suppose i need win32 extensions, but on linux?

Thank you!

-- 
Regards,
Leonardo



More information about the Python-list mailing list