ModuleNotFoundError: No module named 'fpdf'

Hello bros, i need a help for deploy my app, this dependence not found

File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/", line 541, in _run_script
    exec(code, module.__dict__)File "/mount/src/prontoatendimentosb/pages/", line 1, in <module>
    from fpdf import FPDF

Hey @wfacciolla,

Can you share a link to the GitHub repo for your app? It sounds like you haven’t included fpdf in your requirements.txt file.

Hello @Caroline

i create requirements.txt and add "fpdf"in first line, its correct?

wfacciolla2/ProntoAtendimentoSB (

Yes, that looks right

Why doesn’t it work after deployment?

Can you share the link to the app?

Streamlit (

Have you restarted your app? I was able to fork the repo and deploy it here – it doesn’t look like it’s hitting that error

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