Skip to content

Is poppler installed and in PATH ?  #5

Description

求助,报错: Is poppler installed and in PATH ?
在网上搜索了一番没有找到解决办法,已经按照readme安装了需要的pip包。

Traceback (most recent call last):
  File "/Users/kasusa/Documents/GitHub/Python-Remove-Watermark/watermark.py", line 58, in <module>
    images = convert_from_path('/Users/kasusa/Documents/GitHub/Python-Remove-Watermark/a.pdf')
  File "/Users/kasusa/Library/Python/3.9/lib/python/site-packages/pdf2image/pdf2image.py", line 98, in convert_from_path
    page_count = pdfinfo_from_path(pdf_path, userpw, poppler_path=poppler_path)["Pages"]
  File "/Users/kasusa/Library/Python/3.9/lib/python/site-packages/pdf2image/pdf2image.py", line 484, in pdfinfo_from_path
    raise PDFInfoNotInstalledError(
pdf2image.exceptions.PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions