ExtractTable-py
ExtractTable-py copied to clipboard
Exception has occurred: AttributeError 'XlsxWriter' object has no attribute 'save'
Please provide as much info as you can for expedited resolution. I am trying to generate an excel file here but getting the following error :
Exception has occurred: AttributeError 'XlsxWriter' object has no attribute 'save' File "D:\Others\temp.py", line 11, in <module> table_data = et_sess.process_file(filepath=pdf_location, pages="all", output_format="xlsx") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'XlsxWriter' object has no attribute 'save'
This is the what i have done so far :
pdf_location = "./PDFs/1.pdf"
output_excel_location = '1.xlsx'
table_data = et_sess.process_file(filepath=pdf_location, pages="all", output_format="xlsx")
et_sess.save_output(output_excel_location, output_format="xlsx")
et_sess.process_file()
I tried uninstalling XlsxWriter but its not helping ? Anything wrong that i am doing here ? Thanks.