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

AttributeError: module 'openpyxl.writer.excel' has no attribute 'save_virtual_workbook' #6

Closed
vingeni opened this issue Jun 2, 2023 · 0 comments

Comments

@vingeni
Copy link

vingeni commented Jun 2, 2023

Hi,
I get this exception using XlsExporter render function with openpyxl 3.1.2 :

File "/home/vincent/.local/share/virtualenvs/endi/lib/python3.9/site-packages/sqla_inspect/excel.py", line 136, in render
    return self.save_book(f_buf)
  File "/home/vincent/.local/share/virtualenvs/endi/lib/python3.9/site-packages/sqla_inspect/excel.py", line 80, in save_book
    f_buf.write(openpyxl.writer.excel.save_virtual_workbook(self.book))
AttributeError: module 'openpyxl.writer.excel' has no attribute 'save_virtual_workbook'

It worked previously with openpyxl==3.0.7

I have found this stackoverflow issue.

@tonthon tonthon closed this as completed in 1b78516 Jun 2, 2023
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