You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing issue while creating the pivot table in FastAPI application by using the win32. Getting the below error when pt_cache = wb.PivotCaches().Create(1, ws_data.Range("A1").CurrentRegion) this line executing.
Error:
pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, 'Microsoft Excel', 'This command is unavailable because the license to use this application has expired.', 'xlmain11.chm', 0, -2146827284), None)
Please suggest me the way to resolve this.
Actual Requiremnt: Creating the Pivot table in excel through python FastAPI application with win32
The text was updated successfully, but these errors were encountered:
Doesn't this mean your Excel license is either expired or doesn't allow control through commands? Can you confirm and show that it is active?
It would be useful if you provided a complete reproduction too (all the code needed to trigger this issue, in a single script) as well as your Excel version.
A quick online search reveals that it could also be an issue on Excel's side, independent of license/product:
Hi team,
I am facing issue while creating the pivot table in FastAPI application by using the win32. Getting the below error when pt_cache = wb.PivotCaches().Create(1, ws_data.Range("A1").CurrentRegion) this line executing.
Error:
pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, 'Microsoft Excel', 'This command is unavailable because the license to use this application has expired.', 'xlmain11.chm', 0, -2146827284), None)
Please suggest me the way to resolve this.
Actual Requiremnt: Creating the Pivot table in excel through python FastAPI application with win32
The text was updated successfully, but these errors were encountered: