Hi everyone,
I’m having trouble deploying my Streamlit app to Streamlit Community Cloud. It works perfectly on my local machine, but fails during deployment with these main issues:
ModuleNotFoundError: No module named 'yaml'
Even though I haveimport yaml
in my code, it seems like PyYAML isn’t being installed automatically.ERROR: Could not find a version that satisfies the requirement tensorflow
The log shows the environment is using Python 3.13, and it looks like TensorFlow doesn’t support that version yet.
Here’s what I’ve tried so far:
- I added all dependencies to
requirements.txt
, includingtensorflow
and others likestreamlit
,pandas
,matplotlib
, etc. - The app runs fine locally in a virtual environment.
Here is the URL to the app here
https://prediction-app-username.streamlit.app
and the github