Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting licence error when trying to create pivot table in FastAPI application using win32 #2174

Open
Divya-1477 opened this issue Feb 2, 2024 · 0 comments

Comments

@Divya-1477
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant