Comments (1)
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)
- bibtex entries: the current tag is [author]_[year], should be changed to [author][year][firstwordtitle]
- bibtex entries: {\"u} becomes ΓΒΌ HOT 1
- Running this on Mac Big Sur in VSC, v 0.5 returns this error. v 0.4 does not. HOT 2
- Program returns error on encrypted files, would prefer if it skipped them. HOT 4
- Export/Save to CSV? Import From CSV? HOT 2
- Possible optimization for main.py HOT 1
- Not importing for Python 3.10 HOT 2
- Not a bug, just results have 'false-positives'? (Test scenario) HOT 1
- Pdf reading from file object rather than from path HOT 9
- AttributeError: 'function' object has no attribute 'config' HOT 5
- doi2bib function HOT 1
- TypeError: 'NoneType' object is not iterable HOT 6
- Proxy? HOT 1
- File not closed HOT 1
- Add file DOI check to URL paths HOT 4
- All arXiv articles now have DOIs HOT 2
- [Suggestion] Look into PDF text-annotations for valid DOIs HOT 14
- got the wrong DOI when query the pre-published version of pdf
- Option for disabling document text method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf2doi.