PyPDF2 Error during deployment

Hello! I would highly appreciate your support.
Today I tried to deploy my first project here (thnx for such opportunity by the way) and faced issue, that during deployment error “ModuleNotFoundError: No module named PyPDF2” occured.
However I’ve installed it locally prior to git push and also I see it on git hub in Lib…
Could you please share possible solution.
Thank you in advance.


Took a quick look at your service and it looks like you’re never installing the Python dependencies at build time.

Creating a requirements.txt file and doing something like pip install -r requirements.txt is necessary to install your Python dependencies in a Render service.

Jérémy, Render Support

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.