streamlit is giving error [ UTC ] Logs for 5cufzbngshgujufkbvyxtk.streamlit.app/…
- User
streamlit is giving error [ UTC ] Logs for 5cufzbngshgujufkbvyxtk.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[14:15:11] 🚀 Starting up repository: 'aidsd', branch: 'main', main module: 'app.py'
[14:15:11] 🐙 Cloning repository...
[14:15:12] 🐙 Cloning into '/mount/src/aidsd'...
[14:15:12] 🐙 Cloned repository!
[14:15:12] 🐙 Pulling code changes from Github...
[14:15:12] 📦 Processing dependencies...
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
warning: Requirements file requirements.txt does not contain any dependencies
Using Python 3.13.3 environment at /home/adminuser/venv
Resolved in 0.90ms
Audited in 0.05ms
Checking if Streamlit is installed
Installing rich for an improved exception logging
Using uv pip install.
Using Python 3.13.3 environment at /home/adminuser/venv
Resolved 4 packages in 142ms
Prepared 4 packages in 128ms
Installed 4 packages in 13ms
-
markdown-it-py==[2025-06-02 14:15:13.541120] 3.0.0
-
mdurl==0.1.2[2025-06-02 14:15:13.541339]
-
pygments==2.19.1
-
rich==14.0.0
────────────────────────────────────────────────────────────────────────────────────────
[14:15:14] 🐍 Python dependencies were installed from /mount/src/aidsd/requirements.txt using uv.
Check if streamlit is installed
──────────────────────────────── Installing Streamlit ──────────────────────────────────
Using uv pip install.
Using Python 3.13.3 environment at /home/adminuser/venv
Resolved 37 packages in 582ms
Prepared 37 packages in 1.96s
Installed 37 packages in 95ms
[2025-06-02 14:15:17.516403] + altair==5.5.0
-
attrs==25.3.0
-
blinker==1.9.0
-
cachetools==5.5.2
-
certifi==2025.4.26
-
charset-normalizer==3.4.2
-
click==8.2.1
-
gitdb==4.0.12
-
gitpython==3.1.44
-
idna==3.10
-
jinja2==3.1.6
-
jsonschema==4.24.0[2025-06-02 14:15:17.516705]
-
jsonschema-specifications==2025.4.1
-
markupsafe==3.0.2
-
narwhals==1.41.0
-
numpy==2.2.6
-
packaging==24.2
-
pandas==2.2.3
-
pillow==11.2.1
-
protobuf==6.31.1
-
pyarrow==20.0.0
-
pydeck==[2025-06-02 14:15:17.516958] 0.9.1
-
python-dateutil==2.9.0.post0
-
pytz==2025.2
-
referencing==0.36.2
-
requests==2.32.3
-
rpds-py==0.25.1
-
six==1.17.0
-
smmap[2025-06-02 14:15:17.517155] ==5.0.2
-
streamlit==1.45.1
-
tenacity==9.1.2
-
toml==0.10.2
-
tornado==6.5.1
-
typing-extensions==4.13.2
-
tzdata[2025-06-02 14:15:17.517379] ==2025.2
-
urllib3==2.4.0
-
watchdog==6.0.0
────────────────────────────────────────────────────────────────────────────────────────
[14:15:17] 📦 Processed dependencies!
2025-06-02 14:16:49.019 Session with id d3f6ef0d-551e-4462-86a8-d082cf246ac7 is already connected! Connecting to a new session.
[14:20:42] 🐙 Pulling code changes from Github...
[14:20:42] 📦 Processing dependencies...
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
Using Python 3.13.3 environment at /home/adminuser/venv
Resolved 37 packages in 120ms
Audited 37 packages in 0.11ms
Checking if Streamlit is installed
Found Streamlit version 1.45.1 in the environment
Installing rich for an improved exception logging
Using uv pip install.
Using Python 3.13.3 environment at /home/adminuser/venv
Audited 1 package in 1ms
────────────────────────────────────────────────────────────────────────────────────────
[14:20:45] 🐍 Python dependencies were installed from /mount/src/aidsd/requirements.txt using uv.
[14:20:45] 📦 Processed dependencies!
Stopping...
[14:20:48] 🔄 Updated app!
[14:24:11] 🐙 Pulling code changes from Github...
2025-06-02 14:24:11.916 Received event for non-watched file: /mount/src/aidsd/app.py
[14:24:11] 📦 Processing dependencies...
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
Using Python 3.13.3 environment at /home/adminuser/venv
× No solution found when resolving dependencies:
╰─▶ Because only the following versions of mediapipe are available:
mediapipe==0.10.5 mediapipe==0.10.7 mediapipe==0.10.8 mediapipe==0.10.9 mediapipe==0.10.10 mediapipe==0.10.11 mediapipe==0.10.13 mediapipe==0.10.14 mediapipe==0.10.15 mediapipe==0.10.18 mediapipe==0.10.20 mediapipe==0.10.21 and all versions of mediapipe have no wheels with a matching Python ABI tag, we can conclude that mediapipe<0.10.7 cannot be used. And because you require mediapipe, we can conclude that your requirements are unsatisfiable.Checking if Streamlit is installed
Found Streamlit version 1.45.1 in the environment
Installing rich for an improved exception logging
Using uv pip install.
Using Python 3.13.3 environment at /home/adminuser/venv
Audited 1 package in 2ms
────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
Collecting streamlit (from -r /mount/src/aidsd/requirements.txt (line 1))
Downloading streamlit-1.45.1-py3-none-any.whl.metadata (8.9 kB)
Collecting pillow (from -r /mount/src/aidsd/requirements.txt (line 2))
Downloading pillow-11.2.1-cp313-cp313-manylinux_2_28_x86_64.whl.metadata (8.9 kB)
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
[notice] A new release of pip is available: 24.0 -> 25.1.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
Found Streamlit version 1.45.1 in the environment
Installing rich for an improved exception logging
Using standard pip install.
Collecting rich>=10.14.0
Downloading rich-14.0.0-py3-none-any.whl.metadata (18 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=10.14.0)
Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.14.0)
Downloading pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.14.0)
Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Downloading rich-14.0.0-py3-none-any.whl (243 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 243.2/243.2 kB 12.9 MB/s eta 0:00:00[2025-06-02 14:24:17.470497]
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 145.9 MB/s eta 0:00:00[2025-06-02 14:24:17.483194]
Downloading pygments-2.19.1-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 80.7 MB/s eta 0:00:00[2025-06-02 14:24:17.510163]
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Installing collected packages: pygments, mdurl, markdown-it-py, rich
Attempting uninstall: pygments
Found existing installation: Pygments 2.19.1 Uninstalling Pygments-2.19.1: Successfully uninstalled Pygments-2.19.1Attempting uninstall: mdurl
Found existing installation: mdurl 0.1.2 Uninstalling mdurl-0.1.2: Successfully uninstalled mdurl-0.1.2Attempting uninstall: markdown-it-py
Found existing installation: markdown-it-py 3.0.0 Uninstalling markdown-it-py-3.0.0: Successfully uninstalled markdown-it-py-3.0.0Attempting uninstall: rich
Found existing installation: rich 14.0.0 Uninstalling rich-14.0.0: Successfully uninstalled rich-14.0.0Successfully installed markdown-it-py-3.0.0 mdurl-0.1.2 pygments-2.19.1 rich-14.0.0
[notice] A new release of pip is available: 24.0 -> 25.1.1
[notice] To update, run: pip install --upgrade pip
────────────────────────────────────────────────────────────────────────────────────────
[14:24:20] ❗️ installer returned a non-zero exit code
[14:26:05] 🖥 Provisioning machine...
[14:26:10] 🎛 Preparing system...
[14:26:09] 🚀 Starting up repository: 'aidsd', branch: 'main', main module: 'app.py'
[14:26:09] 🐙 Cloning repository...
[14:26:09] 🐙 Cloning into '/mount/src/aidsd'...
[14:26:10] 🐙 Cloned repository!
[14:26:10] 🐙 Pulling code changes from Github...
[14:26:10] 📦 Processing dependencies...
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
Using Python 3.13.3 environment at /home/adminuser/venv
× No solution found when resolving dependencies:[2025-06-02 14:26:11.670455]
╰─▶ Because only the following versions of mediapipe are available:
mediapipe==0.10.5 mediapipe==0.10.7 mediapipe==0.10.8 mediapipe==0.10.9 mediapipe==0.10.10 mediapipe==0.10.11 mediapipe==0.10.13 mediapipe==0.10.14 mediapipe==0.10.15 mediapipe==0.10.18 mediapipe==0.10.20 mediapipe==0.10.21 and all versions of mediapipe have no wheels with a matching Python ABI tag, we can conclude that mediapipe<0.10.7 cannot be used. And because you require mediapipe, we can conclude that your requirements are unsatisfiable.Checking if Streamlit is installed
Installing rich for an improved exception logging
Using uv pip install.
Using Python 3.13.3 environment at /home/adminuser/venv
Resolved 4 packages in 139ms
Prepared 4 packages in 136ms
Installed 4 packages in 17ms
-
markdown-it-py==3.0.0
-
mdurl==0.1.2[2025-06-02 14:26:11.993628]
-
pygments==2.19.1
-
rich==14.0.0
────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
Collecting streamlit (from -r /mount/src/aidsd/requirements.txt (line 1))
Downloading streamlit-1.45.1-py3-none-any.whl.metadata (8.9 kB)
Collecting pillow (from -r /mount/src/aidsd/requirements.txt (line 2))
Downloading pillow-11.2.1-cp313-cp313-manylinux_2_28_x86_64.whl.metadata (8.9 kB)
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
[notice] A new release of pip is available: 24.0 -> 25.1.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
Installing rich for an improved exception logging
Using standard pip install.
[14:26:15] ⛓ Spinning up manager process...
Collecting rich>=10.14.0
Downloading rich-14.0.0-py3-none-any.whl.metadata (18 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=10.14.0)
Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.14.0)
Downloading pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.14.0)
Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Downloading rich-14.0.0-py3-none-any.whl (243 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 243.2/243.2 kB 14.8 MB/s eta 0:00:00
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 124.5 MB/s eta 0:00:00
Downloading pygments-2.19.1-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 89.0 MB/s eta 0:00:00[2025-06-02 14:26:15.797102]
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Installing collected packages: pygments, mdurl, markdown-it-py, rich
Attempting uninstall: pygments
Found existing installation: Pygments 2.19.1 Uninstalling Pygments-2.19.1: Successfully uninstalled Pygments-2.19.1Attempting uninstall: mdurl
Found existing installation: mdurl 0.1.2 Uninstalling mdurl-0.1.2: Successfully uninstalled mdurl-0.1.2Attempting uninstall: markdown-it-py
Found existing installation: markdown-it-py 3.0.0 Uninstalling markdown-it-py-3.0.0: Successfully uninstalled markdown-it-py-3.0.0Attempting uninstall: rich
Found existing installation: rich 14.0.0 Uninstalling rich-14.0.0: Successfully uninstalled rich-14.0.0Successfully installed markdown-it-py-3.0.0 mdurl-0.1.2 pygments-2.19.1 rich-14.0.0
[notice] A new release of pip is available: 24.0 -> 25.1.1
[notice] To update, run: pip install --upgrade pip
────────────────────────────────────────────────────────────────────────────────────────
[14:26:18] ❗️ installer returned a non-zero exit code
[14:26:18] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
solve this
-
- Assistant
Your Streamlit app is failing to deploy because the
mediapipepackage is not available for Python 3.13 (which is what Streamlit Cloud is using in your logs). The error is:ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found for mediapipeWhy is this happening?
mediapipedoes not yet provide wheels for Python 3.13 (as of June 2024).- Streamlit Cloud is using Python 3.13.3 by default.
- Your
requirements.txtasks formediapipe, but pip cannot find a compatible version.
How to Fix
Option 1: Downgrade Python Version
The best solution is to use Python 3.10 or 3.11, which are supported by
mediapipe.How to do this on Streamlit Cloud:
-
Add a
runtime.txtfile to your repo (in the root directory). -
Set the Python version (e.g., for Python 3.10):
python-3.10 -
Commit and push this file to your GitHub repo.
-
Reboot/redeploy your Streamlit app.
Option 2: Remove/Replace
mediapipeIf you don't need
mediapipe, remove it from yourrequirements.txt.
If you need it, you must use a supported Python version (see above).
Option 3: Wait for
mediapipeto support Python 3.13This could take months. Not recommended if you need your app working now.
Summary of Steps
- Create a file called
runtime.txtin your repo root. - Add this line:
python-3.10 - Push to GitHub.
- Restart your Streamlit app.
References
If you follow these steps, your app should deploy successfully!
If you need more help, paste yourrequirements.txtand I can check it for you. - User
Attempting uninstall: mdurl
Found existing installation: mdurl 0.1.2 Uninstalling mdurl-0.1.2: Successfully uninstalled mdurl-0.1.2Attempting uninstall: markdown-it-py
Found existing installation: markdown-it-py 3.0.0 Uninstalling markdown-it-py-3.0.0: Successfully uninstalled markdown-it-py-3.0.0Attempting uninstall: rich
Found existing installation: rich 14.0.0 Uninstalling rich-14.0.0: Successfully uninstalled rich-14.0.0Successfully installed markdown-it-py-3.0.0 mdurl-0.1.2 pygments-2.19.1 rich-14.0.0
[notice] A new release of pip is available: 24.0 -> 25.1.1
[notice] To update, run: pip install --upgrade pip
────────────────────────────────────────────────────────────────────────────────────────
[14:36:41] ❗️ installer returned a non-zero exit code
- Assistant
The log you posted is not the root cause of your Streamlit app failing—it’s just showing that some packages (
mdurl,markdown-it-py,rich) were reinstalled successfully. The real problem is still this:ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found for mediapipe [14:36:41] ❗️ installer returned a non-zero exit codeThis means your app’s deployment is failing because
mediapipecannot be installed for Python 3.13 (the default on Streamlit Cloud right now).
How to Fix
1. Add a
runtime.txtfile to your repo-
In your project’s root directory, create a file named
runtime.txt. -
Put this line in it (for Python 3.10, which is supported by
mediapipe):python-3.10 -
Commit and push this file to your GitHub repo.
2. Redeploy your Streamlit app
- Go to your Streamlit Cloud dashboard and restart/redeploy your app.
Why This Works
- Streamlit Cloud will use Python 3.10 instead of 3.13.
mediapipehas wheels for Python 3.10, so it will install successfully.- The other packages (
rich,mdurl, etc.) are not the problem—they install fine.
Summary
- The error is because
mediapipedoes not support Python 3.13 yet. - Solution: Force Python 3.10 by adding a
runtime.txtfile. - Ignore the
rich/mdurllogs—they are not the cause of the failure.
If you do this and still have issues, please paste your
requirements.txtand I’ll help you further! -
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.