请检查你的电脑是否已安装wps
Traceback (most recent call last):
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\win32com\client\dynamic.py", line 89, in _GetGoodDispatch
IDispatch = pythoncom.connect(IDispatch)
pywintypes.com_error: (-2147221021, '操作无法使用', None, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 237, in _create_instance
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147221164, '没有注册类', None, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\win32com\client\dynamic.py", line 89, in _GetGoodDispatch
IDispatch = pythoncom.connect(IDispatch)
pywintypes.com_error: (-2147221021, '操作无法使用', None, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 237, in _create_instance
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147221164, '没有注册类', None, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\xbot_interpreter.py", line 67, in <module>
main()
File "E:\ShadowBot\shadowbot-5.5.32\python\lib\site-packages\xbot_interpreter.py", line 45, in main
try:
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\5a58cb3b-36a0-4a42-a4ac-c014e91a4388\apps\7597da4e-bdf2-45ec-b512-4cce7b52508d\xbot_robot\main.py", line 9, in main
excel_instance = xbot_visual.excel.launch(launch_way="open", driver_way="wps", open_filename="E:\\360\\2021.01\\个人文件\\202210.xlsm", save_filename="", isvisible=True, ignoreformula=False, password=xbot_visual.decrypt(""), write_password=None, update_links=False, _block=("main", 1, "启动Excel"))
File "<string>", line 79, in wrapper
File "<string>", line 74, in wrapper
File "<string>", line 53, in launch
File "<string>", line 95, in open
File "<string>", line 241, in _create_instance
File "<string>", line 243, in _create_instance
ValueError: 请检查你的电脑是否已安装wps