Import Matplotlib Error

Hello Everyone!
I have created an app that works fine when I locally run it from my Powershell terminal, but I get the following error when I deploy it on the community cloud.
I read other posts about including a requirements.txt in the main branch and adding the name of the library I want to use in that file, but I am still getting the same issue.
Here is a link to my Github repo:

Here is the link to my deployed app:
Here is a screenshot of my functional app:

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/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/”, line 535, in _run_script
** exec(code, module.dict)File “/mount/src/self_management/”, line 3, in **
** import matplotlib.pyplot as plt**

Do a reboot of the app

Thank you! It worked

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