ERROR building app in streamlit

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed

────────────────────────────────────────────────────────────────────────────────────────

[08:51:18] ❗️ installer returned a non-zero exit code
[08:51:18] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[08:52:58] ❗️ Streamlit server consistently failed status checks
[08:52:58] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.