Deployment of New app is failing

Hi , I am trying out streamlit and looking forward to deploy an app on community cloud. However, the deployment is failing since the system is not able to download some of the python packages that i am using in my app. Here is the list fromrequirements.txt:-
streamlit,pandas,altair,plotly,yfinance,yahooquery,warnings,datetime,talib,matplotlib,seaborn.

From the log from Manage App section , i can see its failing due to missing python packages for yahooquery. I also require talib library for my app. can someone help with the requirements ?

Log contents below ---------------------->>>>>

[ UTC ] Logs for stockdashboardapp.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[00:43:11] :desktop_computer: Provisioning machine…
[00:43:11] :control_knobs: Preparing system…
[00:43:11] :chains: Spinning up manager process…
[00:43:21] :rocket: Starting up repository: ‘stockdashboardapp’, branch: ‘main’, main module: ‘streamlit_app.py’
[00:43:21] :octopus: Cloning repository…
[00:43:22] :octopus: Cloning into ‘/mount/src/stockdashboardapp’…
Warning: Permanently added the ED25519 host key for IP address ‘140.82.114.3’ to the list of known hosts.

[00:43:22] :octopus: Cloned repository!
[00:43:22] :octopus: Pulling code changes from Github…
[00:43:23] :package: Processing dependencies…

──────────────────────────────────────── pip ───────────────────────────────────────────

Using standard pip install.
Collecting streamlit (from -r /mount/src/stockdashboardapp/requirements.txt (line 1))
Downloading streamlit-1.33.0-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting pandas (from -r /mount/src/stockdashboardapp/requirements.txt (line 2))
Downloading pandas-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
Collecting altair (from -r /mount/src/stockdashboardapp/requirements.txt (line 3))
Downloading altair-5.3.0-py3-none-any.whl.metadata (9.2 kB)
Collecting plotly (from -r /mount/src/stockdashboardapp/requirements.txt (line 4))
Downloading plotly-5.20.0-py3-none-any.whl.metadata (7.0 kB)
Collecting yfinance (from -r /mount/src/stockdashboardapp/requirements.txt (line 5))
Downloading yfinance-0.2.37-py2.py3-none-any.whl.metadata (11 kB)
Collecting yahooquery (from -r /mount/src/stockdashboardapp/requirements.txt (line 6))
Downloading yahooquery-2.3.7-py3-none-any.whl.metadata (5.0 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 warnings (from versions: none)
ERROR: No matching distribution found for warnings
Checking if Streamlit is installed

────────────────────────────────────────────────────────────────────────────────────────

[00:43:26] :exclamation: installer returned a non-zero exit code
[00:43:26] :exclamation: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[00:45:02] :exclamation: Streamlit server consistently failed status checks
[00:45:02] :exclamation: Please fix the errors, push an update to the git repo, or reboot the app.
[00:47:53] :desktop_computer: Provisioning machine…
[00:47:55] :control_knobs: Preparing system…
[00:47:55] :chains: Spinning up manager process…
[00:47:56] :desktop_computer: Provisioning machine…
[00:48:01] :control_knobs: Preparing system…
[00:48:08] :chains: Spinning up manager process…
[00:48:08] :rocket: Starting up repository: ‘stockdashboardapp’, branch: ‘main’, main module: ‘streamlit_app.py’
[00:48:08] :octopus: Cloning repository…
[00:48:09] :octopus: Cloning into ‘/mount/src/stockdashboardapp’…
Warning: Permanently added the ED25519 host key for IP address ‘140.82.114.4’ to the list of known hosts.

[00:48:09] :octopus: Cloned repository!
[00:48:09] :octopus: Pulling code changes from Github…
[00:48:10] :package: Processing dependencies…

──────────────────────────────────────── pip ───────────────────────────────────────────

Using standard pip install.
Collecting streamlit (from -r /mount/src/stockdashboardapp/requirements.txt (line 1))
Downloading streamlit-1.33.0-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting pandas (from -r /mount/src/stockdashboardapp/requirements.txt (line 2))
Downloading pandas-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
Collecting altair (from -r /mount/src/stockdashboardapp/requirements.txt (line 3))
Downloading altair-5.3.0-py3-none-any.whl.metadata (9.2 kB)
Collecting plotly (from -r /mount/src/stockdashboardapp/requirements.txt (line 4))
Downloading plotly-5.20.0-py3-none-any.whl.metadata (7.0 kB)
Collecting yfinance (from -r /mount/src/stockdashboardapp/requirements.txt (line 5))
Downloading yfinance-0.2.37-py2.py3-none-any.whl.metadata (11 kB)
Collecting yahooquery (from -r /mount/src/stockdashboardapp/requirements.txt (line 6))
Downloading yahooquery-2.3.7-py3-none-any.whl.metadata (5.0 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 warnings (from versions: none)
ERROR: No matching distribution found for warnings
Checking if Streamlit is installed

────────────────────────────────────────────────────────────────────────────────────────

[00:48:12] :exclamation: installer returned a non-zero exit code
[00:48:12] :exclamation: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[00:49:48] :exclamation: Streamlit server consistently failed status checks
[00:49:48] :exclamation: Please fix the errors, push an update to the git repo, or reboot the app.

Thanks!

What makes you think you need warnings in your requirements file? There is already a warnings module in the standard library.

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