Coder Social home page Coder Social logo

Comments (6)

nanonano avatar nanonano commented on July 2, 2024 3

The work-a-round is to manually install the older version of this package.

pip install xlrd==1.2.0

from bittytax.

nanonano avatar nanonano commented on July 2, 2024

This issue only occurs if you have version 2.0.0 or greater of the xlrd package installed.

From the xlrd change log, .xlsx files are no longer supported https://xlrd.readthedocs.io/en/latest/changes.html

2.0.0 (11 December 2020)

Remove support for anything other than .xls files.

from bittytax.

ProgramerAnel avatar ProgramerAnel commented on July 2, 2024

The work-a-round is to manually install the older version of this package.

pip install xlrd==1.2.0

This one is still active,
Just fixed my issue with .xlsx

from bittytax.

xrchz avatar xrchz commented on July 2, 2024

Are there any plans to update BittyTax so it works with the latest xlrd? It seems like dropping xlsx support is the only real breaking change - if that was done for good reason, maybe BittyTax should also switch to xls only?

from bittytax.

xrchz avatar xrchz commented on July 2, 2024

Looking into this a bit more it seems like xls is an old format and xlrd is unmaintained. So perhaps BittyTax should switch to a different Excel library that is maintained like xlsxwriter. I might try to get that working.

from bittytax.

nanonano avatar nanonano commented on July 2, 2024

Yes plan is to migrate to openpyxl for .xlsx documents, for .xls files xlrd will remain.

from bittytax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.