pdf2image.exceptions.PDFInfoNotInstalledError while deplyoing app

  1. Share the link to the public deployed app.
    ATS Resume Expert · Streamlit (resumeanalyst.streamlit.app)

  2. Share the link to your app’s public GitHub repository (including a requirements file).
    GitHub - RD191295/ATS-Resume-Expert: ATS Resume Expert using LLM model ( Google Gemini)

  3. Share the full text of the error message (not a screenshot).

pdf2image.exceptions.PDFInfoNotInstalledError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)File "/mount/src/ats-resume-expert/streamlit_app.py", line 77, in <module>
    pdf_content = input_pdf_setup(upload_file)File "/mount/src/ats-resume-expert/streamlit_app.py", line 27, in input_pdf_setup
    image = pdf2image.convert_from_bytes(upload_file.read())File "/home/adminuser/venv/lib/python3.9/site-packages/pdf2image/pdf2image.py", line 359, in convert_from_bytes
    return convert_from_path(File "/home/adminuser/venv/lib/python3.9/site-packages/pdf2image/pdf2image.py", line 127, in convert_from_path
    page_count = pdfinfo_from_path(File "/home/adminuser/venv/lib/python3.9/site-packages/pdf2image/pdf2image.py", line 607, in pdfinfo_from_path
    raise PDFInfoNotInstalledError(
  1. Share the Streamlit and Python versions.

Python: 3.10
Streamlit Version : 1.30.0