Noob deploying apps [ HEROKU DEPLOYMENT ] problem with matplotlib

Hi to all,

I deployed an app in heroku with this tutorial months ago:

I would like to deploy again, but I have an error and I don know how to solve it:

ModuleNotFoundError: No module named 'matplotlib'

Traceback:

File "/app/.heroku/python/lib/python3.6/site-packages/streamlit/script_runner.py", line 332, in _run_script
    exec(code, module.__dict__)
File "/app/fbdata.py", line 5, in <module>
    import matplotlib.pyplot as plt

Please if someone can help me I will be really gratefull.

Thanks in advance for your help and support.

Best Regards

Hi @domin2662, maybe is because you need to write matplotlib to your requirements.txt file ??

1 Like

Hi Napoles,

Please find attached all the things, matplotlib is in the requirements.txt

Thanks for yout answer,

, please find attached the files in other link .