Thank you for your prompt answer.
I saw this FAQ post. I forgot to mention: streamlit is installed and also mentioned in the requirements.txt. The solution offered in this post therefore does not seem to be working for me.
Is there any other way this error could occur?
Edit:
I have tried modifying the requirements.txt by adding / removing packages that are loaded there.
Find the log below. Possibly this gives more insight. As for now I’m convinced that I followed all the instructions in the FAQ post. It looks to me like the uv pip is not up to date and might cause the error? I’m not sure, though. Is there anything I can do?
Edit2: I renamed the subprocess script file to launch.py and adjusted the appscript accordingly.
LOGFILE
Using uv pip install.
× No solution found when resolving dependencies:
╰─▶ Because subprocess was not found in the package registry and you require
subprocess, we can conclude that the requirements are unsatisfiable.
Checking if Streamlit is installed
Found Streamlit version 1.36.0 in the environment
────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
Collecting streamlit (from -r /mount/src/digcompedu-dashboard/requirements.txt (line 1))
Downloading streamlit-1.36.0-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting pandas (from -r /mount/src/digcompedu-dashboard/requirements.txt (line 2))
Downloading pandas-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
Collecting requests (from -r /mount/src/digcompedu-dashboard/requirements.txt (line 3))
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting matplotlib (from -r /mount/src/digcompedu-dashboard/requirements.txt (line 4))
Downloading matplotlib-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting seaborn (from -r /mount/src/digcompedu-dashboard/requirements.txt (line 5))
Downloading seaborn-0.13.2-py3-none-any.whl.metadata (5.4 kB)
Collecting datetime (from -r /mount/src/digcompedu-dashboard/requirements.txt (line 6))
Downloading DateTime-5.5-py3-none-any.whl.metadata (33 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 subprocess (from versions: none)
ERROR: No matching distribution found for subprocess
[notice] A new release of pip is available: 24.0 → 24.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
Found Streamlit version 1.36.0 in the environment
────────────────────────────────────────────────────────────────────────────────────────
[06:06:48]
installer returned a non-zero exit code
[06:41:51]
Pulling code changes from Github…
[06:41:52]
Processing dependencies…
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
Resolved 48 packages in 123ms
Audited 48 packages in 0.12ms
Checking if Streamlit is installed
[06:41:52]
Provisioning machine…
Found Streamlit version 1.36.0 in the environment
────────────────────────────────────────────────────────────────────────────────────────
[06:41:53]
Python dependencies were installed from /mount/src/digcompedu-dashboard/requirements.txt using uv.
[06:41:53]
Processed dependencies!
[06:41:53]
Preparing system…
[06:41:53]
Spinning up manager process…
[06:41:57]
Updated app!
→ even if there is no error message here, in the browser the app displays the error
File "/mount/src/digcompedu-dashboard/launch.py", line 1, in <module>
import streamlit as st
ModuleNotFoundError: No module named 'streamlit'
type or paste code here