Getting licence error when trying to create pivot table in FastAPI application using win32
Divya-1477 opened this issue · comments
Divya-1477 commented
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