Error when try deploy

When try deploy I receive this error:

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 24.0 → 24.3.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[11:59:18] :exclamation: installer returned a non-zero exit code
[11:59:18] :exclamation: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[12:00:51] :exclamation: Streamlit server consistently failed status checks
[12:00:51] :exclamation: Please fix the errors, push an update to the git repo, or reboot the app.

I am use python 3.11.
My requirements.txt contain only:

mysqlclient
sqlalchemy

My repository is: GitHub - deiviszi/correcao_alcremo

Hi @Deivis, welcome to the forum!

It looks like you also need to add some linux packages for mysqlclient to work properly – try adding a packages.txt like this correcao_alcremo/packages.txt at master · sfc-gh-zblackwood/correcao_alcremo · GitHub and then rebooting your app if that doesn’t work the first time.

(I got that list of packages from GitHub - PyMySQL/mysqlclient: MySQL/MariaDB connector for Python)