Hello
I created a Streamlit App in Python, and when I want to deploy the app to the Streamlit Cloud, I get the error “error installing requirements”.
Can anyone see what im doing wrong?
Hello
I created a Streamlit App in Python, and when I want to deploy the app to the Streamlit Cloud, I get the error “error installing requirements”.
Can anyone see what im doing wrong?
Do you have the broader error message, including what package your app is getting stuck on?
From looking briefly at your github repo and the reqs file, it’s hard to tell, but maybe some of the packages are clashing or one has a bug? Although you don’t need to specify the package versions, I think that’s usually considered best practice and could help you define versions that don’t clash or avoid ones that have bugs. For example, instead of “pandas”, you could write “pandas==2.2.3”, “pandas>=2.0.0”, etc. depending on which version(s) are right for you
Broader message:
[ UTC ] Logs for matchreport-rqyaktdttr2eqf6znxgguv.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[15:22:25] Starting up repository: ‘matchreport’, branch: ‘main’, main module: ‘Match Report.py’
[15:22:25] Cloning repository…
[15:22:25] Cloning into ‘/mount/src/matchreport’…
[15:22:25] Cloned repository!
[15:22:25] Pulling code changes from Github…
[15:22:26] Processing dependencies…
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
Using Python 3.12.8 environment at /home/adminuser/venv
× No solution found when resolving dependencies:
╰─▶ Because xml-etree-elementtree was not found in the package registry
and you require xml-etree-elementtree, 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.12.8 environment at /home/adminuser/venv[2025-02-04 15:22:27.042561]
Resolved 4 packages in 151ms
Prepared 4 packages in 143ms
Installed 4 packages in 18ms
────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
Collecting pandas (from -r /mount/src/matchreport/requirements.txt (line 1))
Downloading pandas-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (89 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.9/89.9 kB 3.8 MB/s eta 0:00:00[2025-02-04 15:22:29.269525]
Collecting requests (from -r /mount/src/matchreport/requirements.txt (line 2))
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
ERROR: Could not find a version that satisfies the requirement xml.etree.ElementTree (from versions: none)
ERROR: No matching distribution found for xml.etree.ElementTree
[notice] A new release of pip is available: 24.0 → 25.0
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
Installing rich for an improved exception logging
Using standard pip install.
Collecting rich>=10.14.0
Downloading rich-13.9.4-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-13.9.4-py3-none-any.whl (242 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.4/242.4 kB 13.0 MB/s eta 0:00:00[2025-02-04 15:22:30.822155]
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 166.2 MB/s eta 0:00:00[2025-02-04 15:22:30.835745]
Downloading pygments-2.19.1-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 72.9 MB/s eta 0:00:00[2025-02-04 15:22:30.866966]
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.1
Attempting uninstall: mdurl
Found existing installation: mdurl 0.1.2
Uninstalling mdurl-0.1.2:
Successfully uninstalled mdurl-0.1.2
Attempting 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.0
Attempting uninstall: rich
Found existing installation: rich 13.9.4
Uninstalling rich-13.9.4:
Successfully uninstalled rich-13.9.4
Successfully installed markdown-it-py-3.0.0 mdurl-0.1.2 pygments-2.19.1 rich-13.9.4
[notice] A new release of pip is available: 24.0 → 25.0
[notice] To update, run: pip install --upgrade pip
────────────────────────────────────────────────────────────────────────────────────────
[15:22:34] installer returned a non-zero exit code
[15:22:34] Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[15:24:05] Streamlit server consistently failed status checks
[15:24:05] Please fix the errors, push an update to the git repo, or reboot the app.
It looks like xml-etree-elementtree is the issue. I don’t see this package on PyPI, so it can’t find it using pip
I’m not familiar with the xml packages too much, did you mean to use pycopy-xml.etree.ElementTree? https://pypi.org/project/pycopy-xml.etree.ElementTree/
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.