Error while trying to deploy an app

Hi!
I’m getting the following errors while deploying an app on Streamlit Cloud:

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

Here is my log:

[     UTC     ] Logs for djtjptb9t3ckc8fnnnaeyr.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[21:40:51] 🚀 Starting up repository: 'tg_text_review', branch: 'main', main module: 'app.py'
[21:40:51] 🐙 Cloning repository...
[21:40:52] 🐙 Cloning into '/mount/src/tg_text_review'...

[21:40:52] 🐙 Cloned repository!
[21:40:52] 🐙 Pulling code changes from Github...
[21:40:53] 📦 Processing dependencies...

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

Collecting advertools==0.13.4
  Downloading advertools-0.13.4-py2.py3-none-any.whl (310 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 310.2/310.2 KB 14.9 MB/s eta 0:00:00[2023-08-07 21:40:54.812020] 
Collecting altair==5.0.1
  Downloading altair-5.0.1-py3-none-any.whl (471 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 471.5/471.5 KB 95.2 MB/s eta 0:00:00[2023-08-07 21:40:54.862075] 
Collecting attrs==23.1.0
  Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 204.8 MB/s eta 0:00:00[2023-08-07 21:40:54.904736] 
Collecting Automat==22.10.0
  Downloading Automat-22.10.0-py2.py3-none-any.whl (26 kB)
Collecting blinker==1.6.2
  Downloading blinker-1.6.2-py3-none-any.whl (13 kB)
Collecting cachetools==5.3.1
  Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Collecting certifi==2023.7.22
  Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 KB 220.1 MB/s eta 0:00:00[2023-08-07 21:40:55.066241] 
Collecting cffi==1.15.1
  Downloading cffi-1.15.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.2/441.2 KB 274.0 MB/s eta 0:00:00[2023-08-07 21:40:55.317391] 
Collecting charset-normalizer==3.2.0
  Downloading charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (202 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 202.1/202.1 KB 238.8 MB/s eta 0:00:00[2023-08-07 21:40:55.452116] 
Collecting click==8.1.6
  Downloading click-8.1.6-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 KB 218.4 MB/s eta 0:00:00[2023-08-07 21:40:55.501300] 
Collecting colorama==0.4.6
  Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting constantly==15.1.0
  Downloading constantly-15.1.0-py2.py3-none-any.whl (7.9 kB)
Collecting cryptography==41.0.3
  Downloading cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 201.4 MB/s eta 0:00:00[2023-08-07 21:40:55.961739] 
Collecting cssselect==1.2.0
  Downloading cssselect-1.2.0-py2.py3-none-any.whl (18 kB)
Collecting DAWG-Python==0.7.2
  Downloading DAWG_Python-0.7.2-py2.py3-none-any.whl (11 kB)
Collecting decorator==5.1.1
  Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting docopt==0.6.2
  Downloading docopt-0.6.2.tar.gz (25 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting filelock==3.12.2
  Downloading filelock-3.12.2-py3-none-any.whl (10 kB)
Collecting gitdb==4.0.10
  Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 KB 202.4 MB/s eta 0:00:00[2023-08-07 21:40:56.493872] 
Collecting GitPython==3.1.32
  Downloading GitPython-3.1.32-py3-none-any.whl (188 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.5/188.5 KB 268.7 MB/s eta 0:00:00[2023-08-07 21:40:56.554332] 
Collecting hyperlink==21.0.0
  Downloading hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.6/74.6 KB 241.4 MB/s eta 0:00:00[2023-08-07 21:40:56.586160] 
Collecting idna==3.4
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 211.6 MB/s eta 0:00:00[2023-08-07 21:40:56.645539] 
Collecting importlib-metadata==6.8.0
  Downloading importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Collecting incremental==22.10.0
  Downloading incremental-22.10.0-py2.py3-none-any.whl (16 kB)
Collecting itemadapter==0.8.0
  Downloading itemadapter-0.8.0-py3-none-any.whl (11 kB)
Collecting itemloaders==1.1.0
  Downloading itemloaders-1.1.0-py3-none-any.whl (11 kB)
Collecting Jinja2==3.1.2
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 230.9 MB/s eta 0:00:00[2023-08-07 21:40:56.906830] 
Collecting jmespath==1.0.1
  Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
Collecting joblib==1.3.1
  Downloading joblib-1.3.1-py3-none-any.whl (301 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.0/302.0 KB 260.6 MB/s eta 0:00:00[2023-08-07 21:40:56.992478] 
Collecting jsonschema==4.19.0
  Downloading jsonschema-4.19.0-py3-none-any.whl (83 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.4/83.4 KB 208.9 MB/s eta 0:00:00[2023-08-07 21:40:57.058714] 
Collecting jsonschema-specifications==2023.7.1
  Downloading jsonschema_specifications-2023.7.1-py3-none-any.whl (17 kB)
Collecting lxml==4.9.3
  Downloading lxml-4.9.3-cp39-cp39-manylinux_2_28_x86_64.whl (8.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 185.7 MB/s eta 0:00:00[2023-08-07 21:40:57.460679] 
Collecting markdown-it-py==3.0.0
  Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 KB 222.6 MB/s eta 0:00:00[2023-08-07 21:40:57.518346] 
Collecting MarkupSafe==2.1.3
  Downloading MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting mdurl==0.1.2
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting nltk==3.8.1
  Downloading nltk-3.8.1-py3-none-any.whl (1.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 267.9 MB/s eta 0:00:00[2023-08-07 21:40:57.711405] 
Collecting numpy==1.25.2
  Downloading numpy-1.25.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.3/18.3 MB 236.8 MB/s eta 0:00:00[2023-08-07 21:40:58.172378] 
Collecting oauthlib==3.2.2
  Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 KB 252.1 MB/s eta 0:00:00[2023-08-07 21:40:58.236078] 
Collecting packaging==23.1
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 KB 173.8 MB/s eta 0:00:00[2023-08-07 21:40:58.286731] 
Collecting pandas==2.0.3
  Downloading pandas-2.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.4/12.4 MB 279.9 MB/s eta 0:00:00[2023-08-07 21:40:58.618049] 
Collecting parsel==1.8.1
  Downloading parsel-1.8.1-py2.py3-none-any.whl (17 kB)
Collecting Pillow==9.5.0
  Downloading Pillow-9.5.0-cp39-cp39-manylinux_2_28_x86_64.whl (3.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 258.4 MB/s eta 0:00:00[2023-08-07 21:40:59.050330] 
Collecting Protego==0.2.1
  Downloading Protego-0.2.1-py2.py3-none-any.whl (8.2 kB)
Collecting protobuf==4.23.4
  Downloading protobuf-4.23.4-cp37-abi3-manylinux2014_x86_64.whl (304 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 304.5/304.5 KB 276.6 MB/s eta 0:00:00[2023-08-07 21:40:59.452512] 
Collecting pyarrow==12.0.1
  Downloading pyarrow-12.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 39.0/39.0 MB 270.0 MB/s eta 0:00:00[2023-08-07 21:40:59.751489] 
Collecting pyasn1==0.5.0
  Downloading pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 KB 218.5 MB/s eta 0:00:00[2023-08-07 21:40:59.847177] 
Collecting pyasn1-modules==0.3.0
  Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 KB 253.4 MB/s eta 0:00:00[2023-08-07 21:40:59.899841] 
Collecting pycparser==2.21
  Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 230.0 MB/s eta 0:00:00[2023-08-07 21:40:59.936307] 
Collecting pydeck==0.8.0
  Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 259.1 MB/s eta 0:00:00[2023-08-07 21:41:00.001790] 
Collecting PyDispatcher==2.0.7
  Downloading PyDispatcher-2.0.7-py3-none-any.whl (12 kB)
Collecting Pygments==2.16.1
  Downloading Pygments-2.16.1-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 174.3 MB/s eta 0:00:00[2023-08-07 21:41:00.113639] 
Collecting pymorphy2==0.9.1
  Downloading pymorphy2-0.9.1-py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.5/55.5 KB 192.1 MB/s eta 0:00:00[2023-08-07 21:41:00.160564] 
Collecting pymorphy2-dicts-ru==2.4.417127.4579844
  Downloading pymorphy2_dicts_ru-2.4.417127.4579844-py2.py3-none-any.whl (8.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.2/8.2 MB 208.2 MB/s eta 0:00:00[2023-08-07 21:41:00.246795] 
Collecting Pympler==1.0.1
  Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 KB 254.7 MB/s eta 0:00:00[2023-08-07 21:41:00.343458] 
Collecting pyOpenSSL==23.2.0
  Downloading pyOpenSSL-23.2.0-py3-none-any.whl (59 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.0/59.0 KB 135.2 MB/s eta 0:00:00[2023-08-07 21:41:00.401269] 
Collecting python-dateutil==2.8.2
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 179.4 MB/s eta 0:00:00[2023-08-07 21:41:00.444728] 
Collecting pytz==2023.3
  Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 KB 268.2 MB/s eta 0:00:00[2023-08-07 21:41:00.601160] 
Collecting pytz-deprecation-shim==0.1.0.post0
  Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting queuelib==1.6.2
  Downloading queuelib-1.6.2-py2.py3-none-any.whl (13 kB)
Collecting referencing==0.30.2
  Downloading referencing-0.30.2-py3-none-any.whl (25 kB)
Collecting regex==2023.6.3
  Downloading regex-2023.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (769 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 769.9/769.9 KB 261.5 MB/s eta 0:00:00[2023-08-07 21:41:01.462738] 
Collecting requests==2.31.0
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 KB 172.3 MB/s eta 0:00:00[2023-08-07 21:41:01.534924] 
Collecting requests-file==1.5.1
  Downloading requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB)
Collecting requests-oauthlib==1.3.1
  Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting rich==13.5.2
  Downloading rich-13.5.2-py3-none-any.whl (239 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.7/239.7 KB 166.9 MB/s eta 0:00:00[2023-08-07 21:41:01.738437] 
Collecting rpds-py==0.9.2
  Downloading rpds_py-0.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 300.0 MB/s eta 0:00:00[2023-08-07 21:41:01.981381] 
Collecting Scrapy==2.10.0
  Downloading Scrapy-2.10.0-py2.py3-none-any.whl (281 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 281.4/281.4 KB 123.1 MB/s eta 0:00:00[2023-08-07 21:41:02.066668] 
Collecting service-identity==23.1.0
  Downloading service_identity-23.1.0-py3-none-any.whl (12 kB)
Collecting six==1.16.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting smmap==5.0.0
  Downloading smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting streamlit==1.25.0
  Downloading streamlit-1.25.0-py2.py3-none-any.whl (8.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.1/8.1 MB 178.3 MB/s eta 0:00:00[2023-08-07 21:41:02.337159] 
Collecting tenacity==8.2.2
  Downloading tenacity-8.2.2-py3-none-any.whl (24 kB)
Collecting tldextract==3.4.4
  Downloading tldextract-3.4.4-py3-none-any.whl (93 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.3/93.3 KB 232.5 MB/s eta 0:00:00[2023-08-07 21:41:02.453412] 
Collecting toml==0.10.2
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting toolz==0.12.0
  Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 KB 193.0 MB/s eta 0:00:00[2023-08-07 21:41:02.519737] 
Collecting tornado==6.3.2
  Downloading tornado-6.3.2-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (426 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 426.9/426.9 KB 175.1 MB/s eta 0:00:00[2023-08-07 21:41:02.632158] 
Collecting tqdm==4.65.0
  Downloading tqdm-4.65.0-py3-none-any.whl (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 KB 190.4 MB/s eta 0:00:00[2023-08-07 21:41:02.735908] 
Collecting Twisted==22.10.0
  Downloading Twisted-22.10.0-py3-none-any.whl (3.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 91.0 MB/s eta 0:00:00[2023-08-07 21:41:02.909045] 
Collecting twisted-iocpsupport==1.0.3
  Downloading twisted-iocpsupport-1.0.3.tar.gz (10 kB)
  Installing build dependencies: started
[21:41:06] 🖥 Provisioning machine...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
[21:41:08] 🎛 Preparing system...
[21:41:08] ⛓ Spinning up manager process...
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting twython==3.9.1
  Downloading twython-3.9.1-py3-none-any.whl (33 kB)
Collecting typing_extensions==4.7.1
  Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Collecting tzdata==2023.3
  Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.8/341.8 KB 271.9 MB/s eta 0:00:00[2023-08-07 21:41:08.831692] 
Collecting tzlocal==4.3.1
  Downloading tzlocal-4.3.1-py3-none-any.whl (20 kB)
Collecting urllib3==2.0.4
  Downloading urllib3-2.0.4-py3-none-any.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.9/123.9 KB 220.2 MB/s eta 0:00:00[2023-08-07 21:41:08.946836] 
Collecting validators==0.20.0
  Downloading validators-0.20.0.tar.gz (30 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting w3lib==2.1.2
  Downloading w3lib-2.1.2-py3-none-any.whl (21 kB)
Collecting watchdog==3.0.0
  Downloading watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl (82 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.1/82.1 KB 194.0 MB/s eta 0:00:00[2023-08-07 21:41:09.390646] 
Collecting zipp==3.16.2
  Downloading zipp-3.16.2-py3-none-any.whl (7.2 kB)
Collecting zope.interface==6.0
  Downloading zope.interface-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (246 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.1/246.1 KB 262.5 MB/s eta 0:00:00[2023-08-07 21:41:09.669338] 
Collecting setuptools
  Downloading setuptools-68.0.0-py3-none-any.whl (804 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 KB 258.1 MB/s eta 0:00:00[2023-08-07 21:41:11.030039] 
Building wheels for collected packages: docopt, twisted-iocpsupport, validators
  Building wheel for docopt (setup.py): started
  Building wheel for docopt (setup.py): finished with status 'done'
  Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13705 sha256=588ebd49368fb1d8cd50937e7e5aab9cf731aa48477bf7e2854d22ade424e8dc
  Stored in directory: /tmp/pip-ephem-wheel-cache-oz4cwbb_/wheels/70/4a/46/1309fc853b8d395e60bafaf1b6df7845bdd82c95fd59dd8d2b
  Building wheel for twisted-iocpsupport (pyproject.toml): started
  Building wheel for twisted-iocpsupport (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'twisted_iocpsupport.iocpsupport' extension
      creating build
      creating build/temp.linux-x86_64-cpython-39
      creating build/temp.linux-x86_64-cpython-39/twisted_iocpsupport
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Itwisted_iocpsupport -I/home/adminuser/venv/include -I/usr/local/include/python3.9 -c twisted_iocpsupport/iocpsupport.c -o build/temp.linux-x86_64-cpython-39/twisted_iocpsupport/iocpsupport.o
      twisted_iocpsupport/iocpsupport.c:1102:10: fatal error: io.h: No such file or directory
       1102 | #include "io.h"
            |          ^~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for twisted-iocpsupport
  Building wheel for validators (setup.py): started
  Building wheel for validators (setup.py): finished with status 'done'
  Created wheel for validators: filename=validators-0.20.0-py3-none-any.whl size=19580 sha256=bb1b13d4b1c9563565785b7c6e89b7a27b87abe64b818f4fe5220974aebb20c4
  Stored in directory: /tmp/pip-ephem-wheel-cache-oz4cwbb_/wheels/2d/f0/a8/1094fca7a7e5d0d12ff56e0c64675d72aa5cc81a5fc200e849
Successfully built docopt validators
Failed to build twisted-iocpsupport
ERROR: Could not build wheels for twisted-iocpsupport, which is required to install pyproject.toml-based projects
WARNING: You are using pip version 22.0.3; however, version 23.2.1 is available.
You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed

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

[21:41:14] ❗️ installer returned a non-zero exit code
[21:41:14] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[21:42:51] ❗️ Streamlit server consistently failed status checks
[21:42:51] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

This is my requirements.txt :

advertools==0.13.4
altair==5.0.1
attrs==23.1.0
Automat==22.10.0
blinker==1.6.2
cachetools==5.3.1
certifi==2023.7.22
cffi==1.15.1
charset-normalizer==3.2.0
click==8.1.6
colorama==0.4.6
constantly==15.1.0
cryptography==41.0.3
cssselect==1.2.0
DAWG-Python==0.7.2
decorator==5.1.1
docopt==0.6.2
filelock==3.12.2
gitdb==4.0.10
GitPython==3.1.32
hyperlink==21.0.0
idna==3.4
importlib-metadata==6.8.0
incremental==22.10.0
itemadapter==0.8.0
itemloaders==1.1.0
Jinja2==3.1.2
jmespath==1.0.1
joblib==1.3.1
jsonschema==4.19.0
jsonschema-specifications==2023.7.1
lxml==4.9.3
markdown-it-py==3.0.0
MarkupSafe==2.1.3
mdurl==0.1.2
nltk==3.8.1
numpy==1.25.2
oauthlib==3.2.2
packaging==23.1
pandas==2.0.3
parsel==1.8.1
Pillow==9.5.0
Protego==0.2.1
protobuf==4.23.4
pyarrow==12.0.1
pyasn1==0.5.0
pyasn1-modules==0.3.0
pycparser==2.21
pydeck==0.8.0
PyDispatcher==2.0.7
Pygments==2.16.1
pymorphy2==0.9.1
pymorphy2-dicts-ru==2.4.417127.4579844
Pympler==1.0.1
pyOpenSSL==23.2.0
python-dateutil==2.8.2
pytz==2023.3
pytz-deprecation-shim==0.1.0.post0
queuelib==1.6.2
referencing==0.30.2
regex==2023.6.3
requests==2.31.0
requests-file==1.5.1
requests-oauthlib==1.3.1
rich==13.5.2
rpds-py==0.9.2
Scrapy==2.10.0
service-identity==23.1.0
six==1.16.0
smmap==5.0.0
streamlit==1.25.0
tenacity==8.2.2
tldextract==3.4.4
toml==0.10.2
toolz==0.12.0
tornado==6.3.2
tqdm==4.65.0
Twisted==22.10.0
twisted-iocpsupport==1.0.3
twython==3.9.1
typing_extensions==4.7.1
tzdata==2023.3
tzlocal==4.3.1
urllib3==2.0.4
validators==0.20.0
w3lib==2.1.2
watchdog==3.0.0
zipp==3.16.2
zope.interface==6.0

Possibly, requirements.txt is too large for Streamlit Cloud, but I could’nt make it smaller using pipreqs of any other tools.

I hope that someone can suggest a solution)

Hi @Numa-no-Ouji, and welcome to our forums! :wave:

It looks like the wheel-building process for the twisted-iocpsupport package failed with an error.

Have you tried installing a different version of it in your requirements.txt?

Best,
Charly

1 Like

From twisted-iocpsupport’s github:

You should not need to install it directly or interact with its API; it is a dependency of Twisted on Windows platforms.

2 Likes

Guys, you’re amazing! Thank you for your help)

Solved it by simply erasing twisted-iocpsupport==1.0.3 from my requrements.txt (changing its’ version didn’t work).

1 Like

Great to hear it sorted it - Happy Streamlitin’! :balloon:

Charly

1 Like

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