timClicks / slate

The simplest way to extract text from PDFs in Python
http://timmcnamara.co.nz/
GNU General Public License v3.0
428 stars 139 forks source link

PyPI version is out of date with the current version of PDFminer #3

Closed avidas closed 10 years ago

avidas commented 10 years ago

When I did pip install with the master branch of this repo, it works.

The version on PyPI gives the error

import slate Traceback (most recent call last): File "", line 1, in File "/Users/anadas/.virtualenvs/scratch/lib/python2.7/site-packages/slate/init.py", line 48, in from slate import PDF File "/Users/anadas/.virtualenvs/scratch/lib/python2.7/site-packages/slate/slate.py", line 3, in from pdfminer.pdfparser import PDFParser, PDFDocument ImportError: No module named pdfminer.pdfparser

timClicks commented 10 years ago

Thanks for reporting this issue @avidas, the PyPI version should now work fine.

stevemer commented 9 years ago

[removed problem statement]

EDIT: sudo easy_install pdfminer solved the problem for me. I'm still a rookie at this I guess :(