ModuleNotFoundError: No module named 'reportlab'

Hello everyone, i need a help for deploy my app. The error is:

File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/", line 534, in _run_script

    exec(code, module.__dict__)

  File "/mount/src/ra_cantieri/", line 19, in <module>

    from reportlab.pdfgen import canvas

ModuleNotFoundError: No module named 'reportlab'

Thanks to all!!

Hi @francescobiondo24

The error that you’re encountering indicated that the prerequisite library used in the app is not installed

You can add it to requirements.txt file as follows:


Hope this helps!

1 Like


1 Like

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