Poppler is missing


I am getting the following error despite having installed pdf2image (pip install pdf2image)

pdf2image.exceptions.PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?

How to install poppler or solve this issue? Thank you

Can you provide the code or the repl?

Edit: What i’m thinking is that you could add pkgs.poppler to replit.nix file but without testing the code i cant say for sure

HI Quantum, many thanks for the answer. Actually, being a newbie, i decided not to use the pdf2image module, which was causing the issue, and instead of pdf, use txt files, to make it easier :). The issue I am currently facing is “disk quota exceeded”: although i am on a hacker plan from today on, it looks I am still on free plan, with a max disk quota of 1gb…

How big is your text file? All your files storage probably exceeds replits 1GB oer repl limit…

Also try doing kill 1 in the shell to restart repl.