Hi community,
I am encountering issues when attempting to deploy my Streamlit application. The app runs perfectly in my local environment, but during deployment, I keep receiving errors that are difficult to comprehend.
Environment:
- Streamlit Version:
1.38.0 - Python Version:
3.11 - Local Environment: The app works without any issues locally.
- Database runs in Render
Steps to Reproduce:
- Set up a Streamlit app locally using
streamlit==1.38.0and Python 3.11. - Deploy the app following standard deployment procedures for the chosen platform.
- Observe that the deployment fails with errors (logs attached if necessary).
Error Message:
[17:42:51]
Provisioning machine…
[17:42:51]
Preparing system…
[17:42:51]
Spinning up manager process…
[17:42:53]
Starting up repository: ‘overview_divi’, branch: ‘main’, main module: ‘streamlit_divi_new.py’
[17:42:53]
Cloning repository…
[17:42:54]
Cloning into ‘/mount/src/overview_divi’…
Warning: Permanently added the ED25519 host key for IP address ‘140.82.116.4’ to the list of known hosts.
[17:42:54]
Cloned repository!
[17:42:54]
Pulling code changes from Github…
[17:42:55]
Processing dependencies…
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
× No solution found when resolving dependencies:
╰─▶ Because pywin32==306 has no wheels are available with a matching Python
implementation and you require pywin32==306, we can conclude that the
requirements are unsatisfiable.
Checking if Streamlit is installed
[17:43:11]
installer returned a non-zero exit code
[17:43:11]
Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[17:44:43]
Streamlit server consistently failed status checks
[17:44:43]
Please fix the errors, push an update to the git repo, or reboot the app.
Expected Behavior: The app should deploy successfully without errors, as it functions correctly in the local environment.
Request for Assistance: I would appreciate any guidance on what could be causing these deployment issues. Are there known compatibility problems with this version of Streamlit or Python during deployment? Or could it be related to specific configurations required for deployment platforms?
Repo:
Thank you for your assistance.
Lubos
