I am deploying the streamlit using github, but im still new. it ask to update ver idk where to. Im using python ver 3.12.6 and streamlit 1.40.1. https://cecorner-coffeshop.streamlit.app/ the code is here

Using standard pip install.
ERROR: Invalid requirement: 'from openpyxl.chart import BarChart, Reference' (from line 5 of /mount/src/ce-coffee/requirements.txt)

[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
Found Streamlit version 1.40.1 in the environment

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

[11:40:18] ❗️ installer returned a non-zero exit code
[11:40:39] 🐙 Pulling code changes from Github...
[11:40:39] 📦 Processing dependencies...

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

Using uv pip install.
  × No solution found when resolving dependencies:
  ╰─▶ Because there are no versions of time and you require time, we can
      conclude that the requirements are unsatisfiable.
Checking if Streamlit is installed
Found Streamlit version 1.40.1 in the environment

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


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

Using standard pip install.
Collecting streamlit (from -r /mount/src/ce-coffee/requirements.txt (line 1))
  Downloading streamlit-1.40.1-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting matplotlib (from -r /mount/src/ce-coffee/requirements.txt (line 2))
  Downloading matplotlib-3.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting openpyxl (from -r /mount/src/ce-coffee/requirements.txt (line 3))
  Downloading openpyxl-3.1.5-py2.py3-none-any.whl.metadata (2.5 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 time (from versions: none)
ERROR: No matching distribution found for time

[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
Found Streamlit version 1.40.1 in the environment

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

[11:40:44] ❗️ installer returned a non-zero exit code

Do not try to install time.

1 Like

thank you , now i can run it.

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