timClicks / slate

The simplest way to extract text from PDFs in Python

Home Page:http://timmcnamara.co.nz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

avidas opened this issue · comments

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

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

[removed problem statement]

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