obj = GetObject("winmgmts:") File "G:\od15\venv\lib\site-packages\win32com\client\__init__.py", line 85, in GetObject return Moniker(Pathname, clsctx) File "G:\od15\ven..._python wmi = ">
赞
踩
File "G:\od15\venv\lib\site-packages\wmi.py", line 175, in <module>
obj = GetObject("winmgmts:")
File "G:\od15\venv\lib\site-packages\win32com\client\__init__.py", line 85, in GetObject
return Moniker(Pathname, clsctx)
File "G:\od15\venv\lib\site-packages\win32com\client\__init__.py", line 103, in Moniker
moniker, i, bindCtx = pythoncom.MkParseDisplayName(Pathname)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "G:\od15\odoo\http.py", line 649, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "G:\od15\odoo\http.py", line 307, in _handle_exception
raise exception.with_traceback(None) from new_cause
pywintypes.com_error: (-2147221020, '无效的语法', None, None)
在网上也查了很多资料,无效的语法
obj
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。