Getting this error while deploying on community cloud - installer returned a non-zero exit code. Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

I have updated the requirements.txt but I am still facing this error while deploying to cloud.

Hey, thanks for sharing your question and repo link! This is a super common issue—your app works locally but fails on Streamlit Community Cloud. The most frequent causes are: (1) missing or misspelled dependencies in requirements.txt, (2) including standard library modules (like base64 or json) in requirements.txt, or (3) version mismatches between your local and cloud environments. Also, make sure your requirements.txt is named exactly that (all lowercase) and is in the root of your repo. If you see errors like “Error installing requirements,” check the deployment logs in the “Manage app” section for details on which package is causing trouble.

To resolve this, double-check that every library you import in your code is listed in requirements.txt, and only include packages that are not part of the Python standard library. Pin exact versions for reliability (e.g., streamlit==1.32.0). If you’re still stuck, please share your requirements.txt and any error messages from the deployment logs. A minimum reproducible example or a link to your repo (which you’ve provided—thanks!) helps the community help you faster. Folks, feel free to jump in with your insights or similar experiences! For more, see the official docs on app dependencies and the FAQ: App works locally but not when deployed.

Sources: