Giter Site home page Giter Site logo

Comments (1)

MicheleCotrufo avatar MicheleCotrufo commented on May 21, 2024

Yes, this is due to the fact that, back to when I started putting pdf2doi together, some of the libraries that I used (specifically textract and pdf-title) required different versions of six and pdfminer. To solve the problem I made sure that pdf2doi only used textract==1.6.3, six==1.12.0 and pdfminer==20181108.

I checked again now, and it seems that this incompatibility does not exist anymore. I released another rc version of pdf2doi, where I do not set any explicit constraint on the version of six and pdfminer, and I use textract==1.6.4.

pip install pdf2doi==1.1rc2

Note that you might still get an error from pip because, for example, textract==1.6.4 requires six==1.12.0, while the library you need (google-api-core) seems to require six>=1.13.0.
This is not necessarily a problem, since textract will also work with six>=1.13.0 (but it will trigger an error anyway)
Just make sure that, after installing pdf2doi, you also upgrade six and pdfminer to the versions that you need.

Let me know if this new version works well and if you find any bug! thanks!

from pdf2doi.

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.