excel 处理,打开方式:excel 对 wps 不支持
excel 处理,打开方式:excel 对 wps 不支持
😆 我又来了
File “D:/RPA/Project/xxxTest\codes\Main.py”, line 95, in
File “D:/RPA/Project/xxxTest\codes\Main.py”, line 69, in Main
File “iexcel.py”, line 102, in iexcel.write_cell
File “iexcel.py”, line 84, in iexcel.write_cell
File “D:\Program Files\ISRPA\Python\lib\site-packages\xlwings\main.py”, line 472, in init
File “D:\Program Files\ISRPA\Python\lib\site-packages\xlwings\main.py”, line 358, in books
File “D:\Program Files\ISRPA\Python\lib\site-packages\xlwings_xlwindows.py”, line 374, in books
File “D:\Program Files\ISRPA\Python\lib\site-packages\xlwings_xlwindows.py”, line 302, in xl
File “D:\Program Files\ISRPA\Python\lib\site-packages\xlwings_xlwindows.py”, line 220, in get_xl_app_from_hwnd
File “D:\Program Files\ISRPA\Python\lib\site-packages\win32com\client_init_.py”, line 96, in Dispatch
File “D:\Program Files\ISRPA\Python\lib\site-packages\win32com\client_init_.py”, line 37, in __WrapDispatch
File “D:\Program Files\ISRPA\Python\lib\site-packages\win32com\client\gencache.py”, line 183, in GetClassForCLSID
File “D:\Program Files\ISRPA\Python\lib\site-packages\win32com\client\gencache.py”, line 226, in GetModuleForCLSID
File “D:\Program Files\ISRPA\Python\lib\site-packages\win32com\client\gencache.py”, line 266, in GetModuleForTypelib
File “D:\Program Files\ISRPA\Python\lib\site-packages\win32com\client\gencache.py”, line 558, in AddModuleToCache
AttributeError: module ‘win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x8’ has no attribute ‘CLSIDToClassMap’
wps 的话打开方式选择 file,现在部分功能是不支持的。不过我们 2021.2.0 版本即将全面支持 wps, 近期会发布新版本,到时候可解决您的问题哦