README: minimum Python version is 3.10

```
cd server && make install
make[1]: Entering directory '/data/tmp/text-generation-inference/server'
# Compile protos
pip install -U pip uv
Requirement already satisfied: pip in /data/tmp/text-generation-inference/.venv/lib/python3.9/site-packages (25.0.1)
Requirement already satisfied: uv in /data/tmp/text-generation-inference/.venv/lib/python3.9/site-packages (0.6.16)
uv pip install -r requirements_gen.txt
Using Python 3.9.2 environment at: /data/tmp/text-generation-inference/.venv
  × No solution found when resolving dependencies:
  ╰─▶ Because the current Python version (3.9.2) does not satisfy Python>=3.10 and numpy==2.2.2 depends on Python>=3.10, we can conclude that numpy==2.2.2 cannot be used.
      And because you require numpy==2.2.2, we can conclude that your requirements are unsatisfiable.
make[1]: *** [Makefile:19: gen-server] Error 1
make[1]: Leaving directory '/data/tmp/text-generation-inference/server'
make: *** [Makefile:2: install-server] Error 2
```
This commit is contained in:
Frans de Jonge 2025-04-25 16:21:17 +02:00 committed by GitHub
parent 39cfe232fd
commit c090cd1506
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -205,7 +205,7 @@ cd text-generation-inference
``` ```
Then [install Rust](https://rustup.rs/) and create a Python virtual environment with at least Then [install Rust](https://rustup.rs/) and create a Python virtual environment with at least
Python 3.9, e.g. using `conda` or `python venv`: Python 3.10, e.g. using `conda` or `python venv`:
```shell ```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh