csvkit/in2csv: AttributeError: 'ReadOnlyWorksheet' object has no attribute 'defined_names'

49 Views Asked by At

I have installed csvkit with Homebrew, but when running in2csv foo.xlsx > foo.csv, I'm always getting this error message:

AttributeError: 'ReadOnlyWorksheet' object has no attribute 'defined_names'

How can I fix it ?

1

There are 1 best solutions below

0
DevonDahon On

I fixed it by reinstalling csvkit with pip.

brew uninstall csvkit
pip install csvkit