Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Closes #16 Cannot install on windows - Patch #47
When attempting to install pdftotext via pip install on Windows, there are several missing dependency errors. This code specifically fixes the issue of missing poppler-document.h and missing poppler-cpp.lib. These files exist after a conda install poppler, though they are not found in the include or library directories that are being used. This also quits if CONDA_PREFIX is None, which means that conda is not installed, or the environment variable has been whacked.
First off, big thanks to everybody for contributing to fixing this.
I'm getting this in perpetuity when trying to forge poppler.
Collecting package metadata (current_repodata.json): done
Hey @RVerma93 thanks for the screenshot. There's a reported issue with conda documented here conda/conda#9367 that outlines the issue you're having with some workarounds. It looks like it might be conflicts between the conda version and python version. You might want to follow some of the advice there for resolving the issue (downgrade or create venv specifying python version).
For the setup.py, clone the master branch of this repo, You'll need MS Visual C++ libraries installed as well. Move into the pdftotext directory created when you cloned it. If you