mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 07:42:06 +00:00
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:
parent
39cfe232fd
commit
c090cd1506
@ -205,7 +205,7 @@ cd text-generation-inference
|
||||
```
|
||||
|
||||
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
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
|
Loading…
Reference in New Issue
Block a user