使用pdf2img报错exceptions.PDFInfoNotInstalledError

本文最后更新于 2024年5月16日。

  File "C:\ProgramData\Anaconda3\envs\env_pdf\Lib\site-packages\pdf2image\pdf2image.py", line 594, in pdfinfo_from_path
raise PDFInfoNotInstalledError(
pdf2image.exceptions.PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?

在这里下载安装poppler
https://github.com/oschwartz10612/poppler-windows/releases/tag/v23.08.0-0