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

pdf2image.exceptions.PDFInfoNotInstalledError. poppler is GPL 2.0 so this software can't be MIT license #13

Open
flywhc opened this issue Jul 20, 2024 · 0 comments

Comments

@flywhc
Copy link

flywhc commented Jul 20, 2024

Run and added a PDF file then got error:

    info = pdf2image.pdfinfo_from_path(filename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\flywh\AppData\Local\Programs\Python\Python312\Lib\site-packages\pdf2image\pdf2image.py", line 607, in pdfinfo_from_path
    raise PDFInfoNotInstalledError(
pdf2image.exceptions.PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?

Then I looked at poppler python library and found it is under GPL 2.0 license. That means this software must be GPL license too.
Is it possible to use other non-GPL licensed python library such as pypdf?

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