Unable to deploy app due to matplotlib not

This is the error I am receiving when trying to deploy an app. Please help!

Hi @Robert_Raymond, welcome to the Streamlit community!

Do you have a requirements file in your repo?

Best,
Randy

Hello @randyzwitch, I do not.
What should be included in the requirements file?
Best,
Robert

You need to include all of the dependencies your app needs to build correctly. Usually, it’s sufficient to just add the things you call inside of your app, such as matplotlib, pandas and the like.

What’s your GitHub repo link?

I was unaware of that, hence the nooby to Streamlit.
My repo is GitHub - robnraymond24/project

Close, but the way you did it isn’t quite it. That’s okay, everyone starts somewhere!

Instead of

import pandas as pd
import matplotlib.pyplot as plt
import pydeck as pdk
import streamlit as st
from flexidate import parse

Try this:

pandas
matplotlib
pydeck
streamlit
flexidate

If you want to build requirements files automatically, the pipreqs utility can scan your code and do it for you.

Good luck on your learning journey!

Best,
Randy