Skip to content
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

python-poppler not able to find poppler-cpp #87

Open
ghost opened this issue May 2, 2024 · 1 comment
Open

python-poppler not able to find poppler-cpp #87

ghost opened this issue May 2, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented May 2, 2024

Hello everyone,

I'm Arany. I am new to coding. I use Python. I'm here to ask about an issue with python-poppler. Let me explain the situation first.

So, I was trying to install python-poppler through pip and I have faced 3 issues so far and the first two are resolved. Let me list all of them below:

  1. Could not find vswhere.exe: I understood that I need both Visual Studio Installer (the management tool of VS) and Visual Studio to retain vswhere.exe and its functionalities, respectively.
  2. Could not find pkg-config: I downloaded pkg-config, glib and gettext-runtime and added it to the PATH environment variable. I placed pkg-config.exe, libglib-2.0.0.dll and intl.dll in the main folder and could not find it.
  3. (The current issue) Can't find poppler-cpp dependency

The third issue is where I need help. I installed Poppler, added the location into PATH and then python-poppler says it can't find it. It isn't a compatibility issue either! If this helps, to verify everything was done correctly, MS Copilot gave me the code 'poppler-cpp --version' and Command Prompt said it doesn't find any internal or external command, operable program or batch file named 'poppler-cpp'. I remembered that Copilot gave me the command 'pdftoppm -v' previously. 'pdftoppm' being a part of poppler, I used it as a substitute and it worked!

Please guide me through what I need to do to install python-poppler successfully.

@Nikolasitude
Copy link

Hello
I'm a passerby.
I just want to say I have the same first issue you described when I do a pip install :

Failed to activate VS environment: Could not find [path]\vswhere.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant