pyexcel/pyexcel-xls

pyexcel-xls conflict with pyexcel-xlsx

Closed this issue · 2 comments

When both installed, reading https://www.edd.ca.gov/Jobs_and_Training/warn/WARN_Report.xlsx using pyexcel-xls will be stuck.

chfw commented

the solution is:

>>> import pyexcel as p
>>> p.get_array(file_name='WARN_Report.xlsx', library='pyexcel-xls')
chfw commented

the reason is: both pyexcel-xlsx and pyexcel-xls register themselves as xlsx handler. Without explicit 'library' parameter, pyexcel will choose one for you.

The best option is to install one of the two in your python application's environment.