When creating an x86 host Python virtual environment, dependency installation fails because the requirements specify numpy==2.4.6.
This version of NumPy is not compatible with Python 3.10, even though Python 3.10 is listed as a supported version. As a result, it is not possible to successfully create the virtual environment using the documented setup.
$ python3 --version
Python 3.10.15
$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install .
Processing ./.
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting torch==2.12.0 (from tensorrt-edgellm==0.9.1)
Using cached torch-2.12.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (31 kB)
Collecting transformers==5.9.0 (from tensorrt-edgellm==0.9.1)
Using cached transformers-5.9.0-py3-none-any.whl.metadata (33 kB)
Collecting onnx==1.19.0 (from tensorrt-edgellm==0.9.1)
Using cached onnx-1.19.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (7.0 kB)
Collecting onnxscript==0.7.0 (from tensorrt-edgellm==0.9.1)
Using cached onnxscript-0.7.0-py3-none-any.whl.metadata (13 kB)
Collecting safetensors==0.7.0 (from tensorrt-edgellm==0.9.1)
Using cached safetensors-0.7.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
INFO: pip is looking at multiple versions of tensorrt-edgellm to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 2.3.0 Requires-Python >=3.11; 2.3.1 Requires-Python >=3.11; 2.3.2 Requires-Python >=3.11; 2.3.3 Requires-Python >=3.11; 2.3.4 Requires-Python >=3.11; 2.3.5 Requires-Python >=3.11; 2.4.0 Requires-Python >=3.11; 2.4.0rc1 Requires-Python >=3.11; 2.4.1 Requires-Python >=3.11; 2.4.2 Requires-Python >=3.11; 2.4.3 Requires-Python >=3.11; 2.4.4 Requires-Python >=3.11; 2.4.5 Requires-Python >=3.11; 2.4.6 Requires-Python >=3.11; 2.5.0 Requires-Python >=3.12; 2.5.0rc1 Requires-Python >=3.12; 2.5.1 Requires-Python >=3.12
ERROR: Could not find a version that satisfies the requirement numpy==2.4.6 (from tensorrt-edgellm) (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0, 1.25.1, 1.25.2, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6)
ERROR: No matching distribution found for numpy==2.4.6
Describe the bug
When creating an x86 host Python virtual environment, dependency installation fails because the requirements specify numpy==2.4.6.
This version of NumPy is not compatible with Python 3.10, even though Python 3.10 is listed as a supported version. As a result, it is not possible to successfully create the virtual environment using the documented setup.
Steps/Code to reproduce bug
System information (x86 Host with GPU)