[Tutor] Openpyxl

Burke, Chelsea Chelsea.Burke at fda.hhs.gov
Mon May 22 10:14:02 EDT 2023


Good morning,

I'm having issues with openpyxl, specifically the load_workbook function. It previously was working just fine, but I cannot get any workbook to load anymore using this function. Below is the error that keeps popping up every time I run it. Is there something wrong with the source code for this package? I've tried downgrading the versions from 3.1.2 to 3.1.1 and 3.1.0 and still have the same error.

[cid:image001.png at 01D98C8D.BE4F5D90]

I've tried just loading a blank workbook from different directories as well and still seem to have the error. I do have a package folder for ~penpyxl that seems to be where the code is coming from based on the line 342 given for the error, but the directory is ~penpyxl.worsheet._reader.WorksheetRead.__init__ and not the "openpyxl.worksheet..." directory. Any help on this would be greatly appreciated.

Thanks,

Chelsea Burke


More information about the Tutor mailing list