Deploymet issue

I AM FACIG THIS PROLEM WHILE DEPOYMET .

PLEASE HELP ME

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

Traceback:

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

Did you put matplotlib in your requirements.txt file?

1 Like

Yes

Hi, @anmoljanu123 you have to provide more context, either a link to the repository or a snapshot of your requirements.txt file. It could be you misspelled the library or forgot to add it if you using a pipfile & pipfile.lock?

At first glance though, the error means matplotlib is not installed.

I am able to run this app locally, so I thought to deploy it.

For that, firstly I push code on GitHub then just follow the steps to deploy it on streamlit

I got this error while deploying.

Yes, can you share the link to the GitHub repository?

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