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
The error shows that
mediapipeis not compatible with Python 3.13, which is what Streamlit Cloud is using. The error message indicates:Because all versions of mediapipe have no wheels with a matching Python ABI tag, we can conclude that mediapipe<0.10.7 cannot be used.Here are two solutions to fix this:
Solution 1: Specify Python Version (Recommended)
Create a
runtime.txtfile in your repository root with:python-3.12This will force Streamlit Cloud to use Python 3.12, which is compatible with mediapipe.
Solution 2: Update requirements.txt with specific versions
Update your
requirements.txtto use specific versions that are known to work:streamlit==1.45.1 pillow==11.2.1 mediapipe==0.10.14 opencv-python-headless==4.10.0.84 numpy==1.26.4Note: I added
opencv-python-headlessandnumpyas they are typically required dependencies for mediapipe.Solution 3: Use a different package
If mediapipe continues to cause issues, consider using alternative packages like:
opencv-pythonfor basic computer vision tasksdlibfor face detectionface-recognitionfor face recognition tasks
Additional Steps:
- Make sure your
requirements.txtfile doesn't have any empty lines or spaces - Commit and push the changes to your GitHub repository
- Streamlit Cloud should automatically redeploy with the new configuration
The Python 3.13 compatibility issue with mediapipe is a known problem, and using Python 3.12 or earlier should resolve it.
- 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 error persists because mediapipe is still incompatible with the Python version. Looking at the logs, the main issue is:
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found for mediapipeHere's how to fix this:
Create a
runtime.txtfileCreate a new file called
runtime.txtin your repository's root directory with this content:python-3.11Update your
requirements.txtMake sure your
requirements.txtcontains:streamlit pillow mediapipe opencv-python-headless numpySteps to implement:
- In your GitHub repository, create a new file named
runtime.txt - Add
python-3.11as the only content - Make sure your
requirements.txtis properly formatted (no empty lines at the end) - Commit and push both files
- Streamlit Cloud will automatically redeploy
The issue is that Streamlit Cloud is defaulting to Python 3.13, but mediapipe doesn't have wheels (pre-compiled packages) for Python 3.13 yet. By specifying Python 3.11 in
runtime.txt, you're telling Streamlit Cloud to use a version that's compatible with mediapipe.If you continue to have issues after this, you might also try Python 3.10:
python-3.10This should resolve the installation error and allow your app to deploy successfully.
- In your GitHub repository, create a new file named
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.