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

Does not work with Python 3.12 (Windows 11, Office 365) #279

Open
BugByteMan opened this issue Dec 2, 2023 · 1 comment
Open

Does not work with Python 3.12 (Windows 11, Office 365) #279

BugByteMan opened this issue Dec 2, 2023 · 1 comment

Comments

@BugByteMan
Copy link

BugByteMan commented Dec 2, 2023

I just upgraded from Python 3.11 to Python 3.12 on Windows 11 with Office 365 and there are several issues:

Error with Merged Cells

File "C:\Python312\Lib\site-packages\pyexcel_xlsx\xlsxr.py", line 72, in init
for ranges in sheet.merged_cells.ranges[:]:
~~~~~~~~~~~~~~~~~~~~~~~~~^^^
TypeError: 'set' object is not subscriptable

Warning when Print Area Set

C:\Python312\Lib\site-packages\openpyxl\reader\workbook.py:118: UserWarning: Print area cannot be set to Defined name: 'Sheet11'!$A:$D.
warn(f"Print area cannot be set to Defined name: {defn.value}.")

@BugByteMan
Copy link
Author

Found the fix for the error here

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