Cannot deploy app to streamlit share

Summary

When I try to deploy my app on streamlit share, it says the requirement distutils cannot be installed.

Steps to reproduce

Expected behavior:

My app should run on the cloud server

Actual behavior:

ERROR: Could not find a version that satisfies the requirement distutils (from versions: none)
ERROR: No matching distribution found for distutils
WARNING: You are using pip version 22.0.3; however, version 23.1.2 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed

Debug info

  • Streamlit version: streamlit share
  • Python version: 3.10

Requirements file

Streamlit~=1.22.0
pandas~=1.5.3
matplotlib~=3.7.1
seaborn~=0.11.2
joblib~=1.1.1
numpy~=1.24.3
scikit-learn~=1.2.2

Links

Updates to the requirements.txt with versions fixed the problem

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.