-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant install on windows using pip #10
Comments
Sorry, I don't use Windows, but I think you would need three things:
If you figure something out, please reply here, and I can add it to the README. |
I'm also having problems installing on windows, but perhaps different ones. I've installed VS2017. Running
Googling around, it seems |
I too had trouble installing this on a restricted windows system. However, it might be possible to build an alternative to this package for windows based on xpdf. Poppler was originally based on xpdf (and maybe still is?). I've got a rudimentary xpdf-based pdftotext working using the subprocess module. The xpdf binaries do not need to be installed, so they can simply be downloaded and called on windows. Curiously, there are some small differences I'm seeing in the text extraction on some tables. |
@kwkelly can you let me know how use used pdftotext using subprocess as when i give the full path of pdf it is saying it didnt find the path of the pdf |
I am getting the same error. Was anyone able to resolve this issue or found any workaround for the text extraction?? |
For what purpose you are installing pdftotext. If you want to read a pdf
there is extra ordinary library called PyMuPdf which you can do lot of
things.
On Thu, Jul 5, 2018 at 5:21 AM Mounika Rudra ***@***.***> wrote:
I am getting the same error. Was anyone able to resolve this issue or
found any workaround for the text extraction??
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/APQD9MqjOqSZus1M0xuAzk6i2mvBxzPXks5uDgTDgaJpZM4RPsmm>
.
--
|
has anyone found any work around for this? The issue still persists.. |
This is a part of the error which I am getting. Anybody have any solution for this:- 'pip install pdftotext' ERROR: WARNING: pkg-config not found--guessing at poppler version. |
@SjRKV did you find any solution for this error? |
In case you come here and did not check the readme, this can be fixed on ubuntu with |
In case you didn't read this Issue itself, this was specifically raised w.r.t. Windows! |
In case my comment confused you for whatever reason, it was for Ubuntu users when they search the error since without running the command one would see the same error in Ubuntu. |
pip install pdftotext Collecting pdftotext Using cached pdftotext-2.0.1.tar.gz Installing collected packages: pdftotext Running setup.py install for pdftotext ... error Complete output from command "c:\users\vinayak sharma\appdata\local\programs\python\python35\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\Local\\Temp\\pip-build-6eh2vxu8\\pdftotext\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\VINAYA~1\AppData\Local\Temp\pip-kyy39x3a-record\install-record.txt --single-version-externally-managed --compile: WARNING: pkg-config not found--guessing at poppler version. If the build fails, install pkg-config and try again. running install running build running build_ext building 'pdftotext' extension error: Unable to find vcvarsall.bat
Command ""c:\users\Local\\Temp\\pip-build-6eh2vxu8\\pdftotext\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\VINAYA~1\AppData\Local\Temp\pip-kyy39x3a-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\VINAYA~1\AppData\Local\Temp\pip-build-6eh2vxu8\pdftotext\
The text was updated successfully, but these errors were encountered: