mcs07 / ChemDataExtractor

Automatically extract chemical information from scientific documents
http://chemdataextractor.org
MIT License
287 stars 112 forks source link

version of pdfminer #1

Closed ejmurray closed 7 years ago

ejmurray commented 7 years ago

Hi Matt. The installation comes up with an error when I am installing using pip. pdfminer-20140328.tar.gz seems to be the problem.

Collecting pdfminer (from ChemDataExtractor) Using cached pdfminer-20140328.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "C:\Users\ernest\AppData\Local\Temp\pip-build-uz7pty9c\pdfminer\setup.py", line 3, in from pdfminer import version File "C:\Users\ernest\AppData\Local\Temp\pip-build-uz7pty9c\pdfminer\pdfminerinit.py", line 5 print version ^ SyntaxError: Missing parentheses in call to 'print'

Could I install pdfminer.six OR pdfminer3k and use one of them instead?

mcs07 commented 7 years ago

Fixing python 3 issues is high on my priority list. Either of those pdfminer alternatives should probably just work, but there may also be other minor problems with ChemDataExtractor itself because I haven't tested extensively under python 3. I will try and sort it out asap.

ejmurray commented 7 years ago

Thanks for the speedy reply.

mcs07 commented 7 years ago

I think I have sorted this out. Will test further this evening and if all is good I'll push a new version.