Why I am getting this error, not sure…
Can anyone help me to understand this? would be a great help… It is working completely fine locally using streamlit.
Thanks you!
Why I am getting this error, not sure…
Can anyone help me to understand this? would be a great help… It is working completely fine locally using streamlit.
Thanks you!
Hi @samachakole,
Can you paste the link to the GitHub you’re deploying from and a copy of the log file?
(in your image: bottom right corner has 3 dots, press it and select Download log
button)
Happy Streamlit-ing!
Marisa
Hi @samachakole
The error is triggered due to lines 48-50, where you use cv2.imshow()
to display images.
OpenCV tries to:
It fails because the container the app is deployed to is a “headless” server – meaning there’s no video card, no “display” attached. In contrast, the app worked fine locally because you have an attached monitor.
The solution is to instead use st.image()
to display images. Here are the steps to get it working:
drawing_diff_rev1.py
with the following:st.image(img1, caption="Actual1")
st.image(img2, caption="Actual2")
Once you follow the above steps, your app should not throw the error when you hit the Get Comparison
button.
Happy Streamlit-ing!
Snehan
Thanks, Snehan,
It is working… : smiley:
Hi @superb25
You’re running into the FileNotFoundError
when line 10 of your app is executed:
skills = pd.read_excel('public_use-industry-skills-needs.xlsx', sheet_name='Industry Skills Needs')
Such an .xlsx
file does not exist in your Github repo. Once you upload the file to your GitHub repo, you should no longer run into the FileNotFoundError
.
ok let me try it. Thanks
i have added the excel file to my repo, same error.
ImportError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).
Traceback:
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 562, in _run_script
exec(code, module.__dict__)File "/app/amina_ads_proj/superb_proj.py", line 10, in <module>
skills = pd.read_excel('public_use-industry-skills-needs.xlsx', sheet_name='Industry Skills Needs')File "/home/appuser/venv/lib/python3.9/site-packages/pandas/util/_decorators.py", line 211, in wrapper
return func(*args, **kwargs)File "/home/appuser/venv/lib/python3.9/site-packages/pandas/util/_decorators.py", line 317, in wrapper
return func(*args, **kwargs)File "/home/appuser/venv/lib/python3.9/site-packages/pandas/io/excel/_base.py", line 483, in read_excel
io = ExcelFile(io, storage_options=storage_options, engine=engine)File "/home/appuser/venv/lib/python3.9/site-packages/pandas/io/excel/_base.py", line 1672, in __init__
self._reader = self._engines[engine](self._io, storage_options=storage_options)File "/home/appuser/venv/lib/python3.9/site-packages/pandas/io/excel/_openpyxl.py", line 548, in __init__
import_optional_dependency("openpyxl")File "/home/appuser/venv/lib/python3.9/site-packages/pandas/compat/_optional.py", line 145, in import_optional_dependency
raise ImportError(msg)
ImportError
is not the same as FileNotFoundError
from yesterday. Your repo does not contain a dependency file for your Python dependencies.
Please read through the following docs and include a requirements.txt
with your Python dependencies:
Thanks will try that @Sneha_Vishwakarma
Thanks alot for your help so far @snehankekre am a beginner so the challenge is huge.
this is the error am getting now.
[ UTC ] Logs for superb25-data-science-school-superb-proj-6pwnsq.streamlitapp.com/
────────────────────────────────────────────────────────────────────────────────────────
[06:41:55] 🖥 Provisioning machine...
[22:39:10] 🚀 Starting up repository: 'data_science_school', branch: 'main', main module: 'superb_proj.py'
[22:39:10] 🐙 Cloning repository...
[22:39:12] 🐙 Cloning into '/app/data_science_school'...
[22:39:12] 🐙 Cloned repository!
[22:39:12] 🐙 Pulling code changes from Github...
[22:39:13] 📦 Processing dependencies...
──────────────────────────────────────── pip ───────────────────────────────────────────
Collecting altair==4.2.0
Downloading altair-4.2.0-py3-none-any.whl (812 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 812.8/812.8 KB 22.3 MB/s eta 0:00:00
Collecting argon2-cffi==21.3.0
Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting argon2-cffi-bindings==21.2.0
Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.2/86.2 KB 145.3 MB/s eta 0:00:00[2022-09-26 22:39:15.089413]
Collecting asttokens==2.0.5
Downloading asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
Collecting attrs==21.4.0
Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 KB 149.4 MB/s eta 0:00:00[2022-09-26 22:39:15.241006]
Collecting backcall==0.2.0
Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting beautifulsoup4==4.11.1
Downloading beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 KB 170.7 MB/s eta 0:00:00[2022-09-26 22:39:15.349842]
Collecting bleach==5.0.0
Downloading bleach-5.0.0-py3-none-any.whl (160 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.3/160.3 KB 174.1 MB/s eta 0:00:00[2022-09-26 22:39:15.436852]
Collecting blinker==1.4
Downloading blinker-1.4.tar.gz (111 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 KB 160.9 MB/s eta 0:00:00[2022-09-26 22:39:15.486683]
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting Brotli==1.0.9
Downloading Brotli-1.0.9-cp39-cp39-manylinux1_x86_64.whl (357 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 357.2/357.2 KB 183.0 MB/s eta 0:00:00
Collecting cachetools==5.2.0
Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting certifi==2022.5.18.1
Downloading certifi-2022.5.18.1-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.2/155.2 KB 165.7 MB/s eta 0:00:00[2022-09-26 22:39:16.841260]
Collecting cffi==1.15.0
Downloading cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (444 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 444.3/444.3 KB 148.9 MB/s eta 0:00:00[2022-09-26 22:39:17.370278]
Collecting charset-normalizer==2.0.12
Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting click==8.1.3
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 140.6 MB/s eta 0:00:00[2022-09-26 22:39:17.607415]
Collecting click-default-group==1.2.2
Downloading click-default-group-1.2.2.tar.gz (3.3 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting colorama==0.4.4
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting commonmark==0.9.1
Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 KB 147.1 MB/s eta 0:00:00
Collecting cycler==0.11.0
Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting dash==2.5.0
Downloading dash-2.5.0-py3-none-any.whl (9.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.8/9.8 MB 140.5 MB/s eta 0:00:00[2022-09-26 22:39:18.589147]
Collecting dash-core-components==2.0.0
Downloading dash_core_components-2.0.0-py3-none-any.whl (3.8 kB)
Collecting dash-html-components==2.0.0
Downloading dash_html_components-2.0.0-py3-none-any.whl (4.1 kB)
Collecting dash-table==5.0.0
Downloading dash_table-5.0.0-py3-none-any.whl (3.9 kB)
Collecting debugpy==1.6.0
Downloading debugpy-1.6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 148.1 MB/s eta 0:00:00[2022-09-26 22:39:19.372437]
Collecting decorator==5.1.1
Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting defusedxml==0.7.1
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting entrypoints==0.4
Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting et-xmlfile==1.1.0
Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting executing==0.8.3
Downloading executing-0.8.3-py2.py3-none-any.whl (16 kB)
Collecting fastjsonschema==2.15.3
Downloading fastjsonschema-2.15.3-py3-none-any.whl (22 kB)
Collecting Flask==2.1.2
Downloading Flask-2.1.2-py3-none-any.whl (95 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.2/95.2 KB 151.6 MB/s eta 0:00:00[2022-09-26 22:39:19.783254]
Collecting Flask-Compress==1.12
Downloading Flask_Compress-1.12-py3-none-any.whl (7.9 kB)
Collecting fonttools==4.33.3
Downloading fonttools-4.33.3-py3-none-any.whl (930 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 930.9/930.9 KB 125.1 MB/s eta 0:00:00[2022-09-26 22:39:20.051599]
Collecting gitdb==4.0.9
Downloading gitdb-4.0.9-py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 KB 145.5 MB/s eta 0:00:00[2022-09-26 22:39:20.120348]
Collecting GitPython==3.1.27
Downloading GitPython-3.1.27-py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.2/181.2 KB 160.6 MB/s eta 0:00:00[2022-09-26 22:39:20.254939]
Collecting idna==3.3
Downloading idna-3.3-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 135.9 MB/s eta 0:00:00[2022-09-26 22:39:20.329837]
Collecting importlib-metadata==4.11.4
Downloading importlib_metadata-4.11.4-py3-none-any.whl (18 kB)
Collecting ipykernel==6.13.1
Downloading ipykernel-6.13.1-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.2/133.2 KB 151.9 MB/s eta 0:00:00[2022-09-26 22:39:20.628565]
Collecting ipython
Downloading ipython-8.5.0-py3-none-any.whl (752 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 752.0/752.0 KB 125.8 MB/s eta 0:00:00[2022-09-26 22:39:20.891844]
Collecting ipython-genutils==0.2.0
Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting ipywidgets==7.7.0
Downloading ipywidgets-7.7.0-py2.py3-none-any.whl (123 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.4/123.4 KB 121.9 MB/s eta 0:00:00[2022-09-26 22:39:21.107167]
Collecting itsdangerous==2.1.2
Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
[06:41:59] 🎛 Preparing system...
[06:41:59] ⛓ Spinning up manager process...
Collecting jedi==0.18.1
Downloading jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 154.2 MB/s eta 0:00:00[2022-09-26 22:39:21.311562]
Collecting Jinja2==3.1.2
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 164.5 MB/s eta 0:00:00[2022-09-26 22:39:21.441509]
Collecting joblib==1.1.0
Downloading joblib-1.1.0-py2.py3-none-any.whl (306 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.0/307.0 KB 167.0 MB/s eta 0:00:00[2022-09-26 22:39:21.557788]
Collecting jsonschema==4.6.0
Downloading jsonschema-4.6.0-py3-none-any.whl (80 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.4/80.4 KB 145.6 MB/s eta 0:00:00[2022-09-26 22:39:21.672761]
Collecting jupyter-client==7.3.2
Downloading jupyter_client-7.3.2-py3-none-any.whl (131 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 131.9/131.9 KB 160.3 MB/s eta 0:00:00[2022-09-26 22:39:21.788775]
Collecting jupyter-core==4.10.0
Downloading jupyter_core-4.10.0-py3-none-any.whl (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.3/87.3 KB 146.8 MB/s eta 0:00:00[2022-09-26 22:39:21.891934]
Collecting jupyterlab-pygments==0.2.2
Downloading jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
Collecting jupyterlab-widgets==1.1.0
Downloading jupyterlab_widgets-1.1.0-py3-none-any.whl (245 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 245.1/245.1 KB 168.9 MB/s eta 0:00:00[2022-09-26 22:39:22.032597]
Collecting kiwisolver==1.4.2
Downloading kiwisolver-1.4.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 160.6 MB/s eta 0:00:00[2022-09-26 22:39:22.293476]
Collecting MarkupSafe==2.1.1
Downloading MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting matplotlib
Downloading matplotlib-3.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.8/11.8 MB 126.6 MB/s eta 0:00:00[2022-09-26 22:39:23.170245]
Collecting matplotlib-inline==0.1.3
Downloading matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting mistune==0.8.4
Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting mysql-connector-python==8.0.29
Downloading mysql_connector_python-8.0.29-cp39-cp39-manylinux1_x86_64.whl (25.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.2/25.2 MB 133.3 MB/s eta 0:00:00[2022-09-26 22:39:23.707662]
Collecting nbclient==0.6.4
Downloading nbclient-0.6.4-py3-none-any.whl (71 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.8/71.8 KB 53.9 MB/s eta 0:00:00[2022-09-26 22:39:23.872931]
Collecting nbconvert==6.5.0
Downloading nbconvert-6.5.0-py3-none-any.whl (561 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.6/561.6 KB 181.4 MB/s eta 0:00:00[2022-09-26 22:39:24.081712]
Collecting nbformat==5.4.0
Downloading nbformat-5.4.0-py3-none-any.whl (73 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.3/73.3 KB 151.0 MB/s eta 0:00:00[2022-09-26 22:39:24.164861]
Collecting nest-asyncio==1.5.5
Downloading nest_asyncio-1.5.5-py3-none-any.whl (5.2 kB)
Collecting notebook==6.4.11
Downloading notebook-6.4.11-py3-none-any.whl (9.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.9/9.9 MB 118.8 MB/s eta 0:00:00[2022-09-26 22:39:24.454379]
Collecting numpy
Downloading numpy-1.23.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 152.4 MB/s eta 0:00:00[2022-09-26 22:39:25.515571]
Collecting openpyxl==3.0.10
Downloading openpyxl-3.0.10-py2.py3-none-any.whl (242 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.1/242.1 KB 137.6 MB/s eta 0:00:00[2022-09-26 22:39:25.648445]
Collecting packaging==21.3
Downloading packaging-21.3-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 135.4 MB/s eta 0:00:00[2022-09-26 22:39:25.748002]
Collecting pandas==1.4.2
Downloading pandas-1.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 111.8 MB/s eta 0:00:00[2022-09-26 22:39:26.559753]
Collecting pandocfilters==1.5.0
Downloading pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting parso==0.8.3
Downloading parso-0.8.3-py2.py3-none-any.whl (100 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.8/100.8 KB 161.6 MB/s eta 0:00:00
Collecting pickleshare==0.7.5
Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting Pillow==9.1.1
Downloading Pillow-9.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 147.7 MB/s eta 0:00:00
Collecting plotly
Downloading plotly-5.10.0-py2.py3-none-any.whl (15.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.2/15.2 MB 131.3 MB/s eta 0:00:00
Collecting prometheus-client==0.14.1
Downloading prometheus_client-0.14.1-py3-none-any.whl (59 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.5/59.5 KB 131.1 MB/s eta 0:00:00[2022-09-26 22:39:28.210143]
Collecting prompt-toolkit==3.0.29
Downloading prompt_toolkit-3.0.29-py3-none-any.whl (381 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.5/381.5 KB 85.5 MB/s eta 0:00:00
Collecting protobuf==3.20.1
Downloading protobuf-3.20.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 125.3 MB/s eta 0:00:00[2022-09-26 22:39:29.047577]
Collecting psutil==5.9.1
Downloading psutil-5.9.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (281 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 281.1/281.1 KB 164.8 MB/s eta 0:00:00[2022-09-26 22:39:29.451000]
Collecting pure-eval==0.2.2
Downloading pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting pyarrow==8.0.0
Downloading pyarrow-8.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (29.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 29.4/29.4 MB 152.0 MB/s eta 0:00:00[2022-09-26 22:39:30.004543]
Collecting pycparser==2.21
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 157.7 MB/s eta 0:00:00[2022-09-26 22:39:30.110186]
Collecting pydeck==0.7.1
Downloading pydeck-0.7.1-py2.py3-none-any.whl (4.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 166.9 MB/s eta 0:00:00[2022-09-26 22:39:30.213251]
Collecting Pygments==2.12.0
Downloading Pygments-2.12.0-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 180.2 MB/s eta 0:00:00[2022-09-26 22:39:30.331230]
Collecting Pympler==1.0.1
Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 KB 158.3 MB/s eta 0:00:00[2022-09-26 22:39:30.404357]
Collecting pyparsing==3.0.9
Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 KB 143.0 MB/s eta 0:00:00[2022-09-26 22:39:30.524900]
Collecting pyrsistent==0.18.1
Downloading pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (115 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.6/115.6 KB 162.5 MB/s eta 0:00:00[2022-09-26 22:39:30.656349]
Collecting python-dateutil==2.8.2
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 135.2 MB/s eta 0:00:00[2022-09-26 22:39:30.734017]
Collecting pytz==2022.1
Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 KB 141.3 MB/s eta 0:00:00[2022-09-26 22:39:30.941431]
Collecting pytz-deprecation-shim==0.1.0.post0
Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting pywinpty==2.0.5
Downloading pywinpty-2.0.5.tar.gz (23 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain....
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: You are using pip version 22.0.3; however, version 22.2.2 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[22:39:38] ❗️ installer returned a non-zero exit code
[22:39:38] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[22:41:11] ❗️ Streamlit server consistently failed status checks
[22:41:11] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
main
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
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.