用windows系统写的影刀程序,在苹果电脑上无法打开Excel
回答
收藏

用windows系统写的影刀程序,在苹果电脑上无法打开Excel

崔紫涵
2024-02-21 21:25·浏览量:589
崔紫涵
发布于 2024-02-21 21:25589浏览

2024-02-21 21:15:31.341 python3.7[72347:14355373] Can't find app with identifier com.microsoft.Excel


Traceback (most recent call last):

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/lib/python3.7/runpy.py", line 193, in _run_module_as_main

   "__main__", mod_spec)

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/lib/python3.7/runpy.py", line 85, in _run_code

   exec(code, run_globals)

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/lib/python3.7/site-packages/xbot_interpreter.py", line 94, in <module>

   main()

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/lib/python3.7/site-packages/xbot_interpreter.py", line 56, in main

   try:

 File "/Users/a1/Library/Application Support/Shadowbot/users/640562562462556200/apps/e066c2c1-20da-4cad-ad6d-7e49f38f7051/xbot_robot/process16.py", line 24, in main

   excel_instance = xbot_visual.excel.launch(launch_way="create", driver_way="auto_check", open_filename=None, save_filename="/Users/a1/Desktop/Workbook.xlsx", isvisible=True, ignoreformula=False, password=None, write_password=None, update_links=False, _block=("excel操作", 9, "启动Excel"))

 File "<string>", line 89, in wrapper

 File "<string>", line 84, in wrapper

 File "<string>", line 49, in launch

 File "<string>", line 42, in create

 File "<string>", line 14, in create

 File "<string>", line 18, in _init_office_instance

AttributeError: 'SBScriptableApplication' object has no attribute 'workbooks'

经百度是python版本不一致导致的,怎么处理?别人有出现类似的问题吗

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