ModuleNotFoundError , No module named

Hello , i have tried deploying my app on streamlit community cloud , but i keep getting error message concerning importing modules such matplotlib and bs4
attached bellow is the github repo for my project . the main streamlit file name is
project github repo link

Hey @Kally,

It looks like you have two versions of Pillow in your requirements.txt – I would remove one and try rebooting the app.

i am facing same issue

ModuleNotFoundError: 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).


File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/", line 552, in _run_script
    exec(code, module.__dict__)File "/app/", line 3, in <module>
    import matplotlib.pyplot as plt

can anyone help?

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