Help: ModuleNotFoundError: No module named 'tensorflow'

Hi all,

I’m having an issue deploying my app. I’m new to streamlit and used pipreqs to make my requirements.txt, but I keep getting the ModuleNotFoundError. Any help would be greatly appreciated.

My requirements.txt looks like:

tensorflow==2.4.0
numpy==1.19.4
streamlit==0.73.1
pandas==1.1.4
Pillow==8.2.0

My app is https://share.streamlit.io/jaco-lau/site-safety-assistant/main/streamlit_app/web_app.py

Thanks,
Jaco

I suspect the initial deployment of the pip requirements is already going wrong. Maybe a typo somewhere?

I used pipreqs to create the requirements.txt file so there shouldn’t be any issue with spelling. I just copied and pasted what the .txt looks like.

Your requirements.txt is not in the root folder of your github repo, this might be the reason.

Thanks @Franky1 that was it. You are the man! Truly appreciated!