python - pdfminer - import error -
i’m new python , programming in general.
i trying install pdfminer. have windows 7 python 2.7 installed. followed instructions when installing (downloaded pdfminer source, unpacked it, , ran setup.py
install , installed in c:\pdfminer
) – no errors.
it created: build
, build\lib,build\lib\pdfminer
, copied files build\lib\pdfminer
. created build\scripts-2.7
, copied tools\pdf2txt.py
, dymppdf.py
scripts
, wrote install-egg-info
, had no errors install.
when try running test document command line:
c:\pdfminer\pdfminer-20140328> pdf2txt.py samples/simple1.pdf
i get:
file “c:\python27\scripts\pdf2txt.py”, line3, in <module> pdfminer.pdfdocument import pdfdocument importerror: no module named pdfminer.pdfdocument
i saw post:
pdfminer - importerror: no module named pdfminer.pdfdocument
and tried following (#1..put sys.path.append…
pdf2txt.py
) , same error.
the system variables include path (pdfminer\pdfminer-20140328
).
i’ve looked other solutions haven’t had luck – file there can’t seem program in right area it…i think.
do have wrong path or installed in wrong directory?
Comments
Post a Comment