Error during deployment requirement pywin32 different python version

Link to the app on streamlit : https://ai-app-wn8tcveagadmdxebauwpfg.streamlit.app/

link to github repo: GitHub - laila-sul/AI-Streamlit

[     UTC     ] Logs for ai-app-wn8tcveagadmdxebauwpfg.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[18:12:45] 🖥 Provisioning machine...
[18:12:45] 🎛 Preparing system...
[18:12:45] ⛓ Spinning up manager process...
[18:12:37] 🚀 Starting up repository: 'ai-streamlit', branch: 'main', main module: 'version.py'
[18:12:37] 🐙 Cloning repository...
[18:12:38] 🐙 Cloning into '/mount/src/ai-streamlit'...
[18:12:38] 🐙 Cloned repository!
[18:12:38] 🐙 Pulling code changes from Github...
[18:12:39] 📦 Processing dependencies...

──────────────────────────────────────── uv ───────────────────────────────────────────

Using uv pip install.
  × No solution found when resolving dependencies:[2024-07-23 18:12:41.385999] 
  ╰─▶ Because only the following versions of pywin32 are available:
          pywin32==222
          pywin32==223
          pywin32==224
          pywin32==225
          pywin32==226
          pywin32==227
          pywin32==228
          pywin32==300
          pywin32==301
          pywin32==302
          pywin32==303
          pywin32==304
          pywin32==305
          pywin32==306
      and pywin32==222 has no wheels are available with a matching Python
      implementation, we can conclude that pywin32<223 cannot be used.
      And because pywin32==223 has no wheels are available with a matching
      Python implementation and pywin32==224 has no wheels are available
      with a matching Python implementation, we can conclude that pywin32<225
      cannot be used.
      And because pywin32==225 has no wheels are available with a matching
      Python implementation and pywin32==226 has no wheels are available
      with a matching Python implementation, we can conclude that pywin32<227
      cannot be used.
      And because pywin32==227 has no wheels are available with a matching
      Python implementation and pywin32==228 has no wheels are available
      with a matching Python implementation, we can conclude that pywin32<300
      cannot be used.
      And because pywin32==300 has no wheels are available with a matching
      Python ABI and pywin32==301 has no wheels are available with a matching
      Python ABI, we can conclude that pywin32<302 cannot be used.
      And because pywin32==302 has no wheels are available with a matching
      Python ABI and pywin32==303 has no wheels are available with a matching
      Python ABI, we can conclude that pywin32<304 cannot be used.
      And because pywin32==304 has no wheels are available with a matching
      Python ABI and pywin32==305 has no wheels are available with a matching
      Python ABI, we can conclude that pywin32<306 cannot be used.
      And because pywin32==306 has no wheels are available with a matching
      Python implementation and you require pywin32, we can conclude that the
      requirements are unsatisfiable.[2024-07-23 18:12:41.386855] 
Checking if Streamlit is installed

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


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

Using standard pip install.
Collecting appdirs (from -r /mount/src/ai-streamlit/requirements.txt (line 2))
  Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Collecting atomicwrites (from -r /mount/src/ai-streamlit/requirements.txt (line 3))
  Downloading atomicwrites-1.4.1.tar.gz (14 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting jsonpointer (from -r /mount/src/ai-streamlit/requirements.txt (line 4))
  Downloading jsonpointer-3.0.0-py2.py3-none-any.whl.metadata (2.3 kB)
Collecting numpy (from -r /mount/src/ai-streamlit/requirements.txt (line 5))
  Downloading numpy-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB 4.6 MB/s eta 0:00:00
Collecting streamlit (from -r /mount/src/ai-streamlit/requirements.txt (line 6))
  Downloading streamlit-1.36.0-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting pandas (from -r /mount/src/ai-streamlit/requirements.txt (line 7))
  Downloading pandas-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
Collecting mkl-service (from -r /mount/src/ai-streamlit/requirements.txt (line 8))
  Downloading mkl_service-2.4.1-0-cp311-cp311-manylinux2014_x86_64.whl.metadata (2.2 kB)
Collecting protobuf (from -r /mount/src/ai-streamlit/requirements.txt (line 9))
  Downloading protobuf-5.27.2-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
Collecting pyasn1-modules (from -r /mount/src/ai-streamlit/requirements.txt (line 10))
  Downloading pyasn1_modules-0.4.0-py3-none-any.whl.metadata (3.4 kB)
Collecting pycurl (from -r /mount/src/ai-streamlit/requirements.txt (line 11))
  Downloading pycurl-7.45.3-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (4.3 kB)
Collecting pyls-spyder (from -r /mount/src/ai-streamlit/requirements.txt (line 12))
  Downloading pyls_spyder-0.4.0-py3-none-any.whl.metadata (4.6 kB)
Collecting PyQt5 (from -r /mount/src/ai-streamlit/requirements.txt (line 13))
  Downloading PyQt5-5.15.11-cp38-abi3-manylinux_2_17_x86_64.whl.metadata (2.1 kB)
Collecting PyQtWebEngine (from -r /mount/src/ai-streamlit/requirements.txt (line 14))
  Downloading PyQtWebEngine-5.15.7-cp38-abi3-manylinux_2_17_x86_64.whl.metadata (1.8 kB)
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32

[notice] A new release of pip is available: 24.0 -> 24.1.2
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed

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

[18:12:47] ❗️ installer returned a non-zero exit code
[18:12:47] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[18:14:18] ❗️ Streamlit server consistently failed status checks

What do you need pywin32 for?

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