While deploying: installer returned a non-zero exit code

I’m getting below error message, can someone please help?

Versions

  • Python 3.9.19
  • streamlit==1.35.0

Error Messages

[08:47:17] ❗️ installer returned a non-zero exit code
[08:47:17] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

Solution

  • removed content of requirements.txt file
  • specified only libraries required

Take a look at the messages above that to find out what dependency is causing what error.