请检查你的电脑是否已安装office或wps
回答
收藏

请检查你的电脑是否已安装office或wps

西
西来
2023-03-22 19:49·浏览量:4193
西
西来
发布于 2023-03-22 19:494193浏览

 请检查你的电脑是否已安装office或wps
Traceback (most recent call last):
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\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 "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2146959355, '服务器运行失败', None, None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<string>", line 89, in open
File "<string>", line 243, in _create_instance
ValueError: 请检查你的电脑是否已安装office

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\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 "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2146959355, '服务器运行失败', None, None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\site-packages\xbot_interpreter.py", line 67, in <module>
main()
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.26\python\lib\site-packages\xbot_interpreter.py", line 45, in main
try:
File "C:\Users\xilai\AppData\Local\ShadowBot\users\70739655974465537\apps\a620ab77-dca4-4ed4-a6a8-cb1cdb653db4\xbot_robot\main.py", line 9, in main
excel_instance = xbot_visual.excel.launch(launch_way="open", driver_way="auto_check", open_filename="C:\\Users\\xilai\\Desktop\\账号密码.xlsx", save_filename="", isvisible=True, ignoreformula=False, password=xbot_visual.decrypt(""), write_password=None, update_links=False, _block=("main", 1, "启动Excel"))
File "<string>", line 87, in wrapper
File "<string>", line 82, in wrapper
File "<string>", line 53, in launch
File "<string>", line 92, in open
File "<string>", line 243, in _create_instance
ValueError: 请检查你的电脑是否已安装office或wps

收藏
全部回答1
最新
发布回答
回答