Answers for LLM inference engineers

Which Python version can you pip install vLLM, PyTorch, TensorFlow and other ML packages on? (3.10 to 3.15, free-threaded)

On Linux x86_64 as of 2026-11-30: PyTorch 2.15.0 has wheels for Python 3.11 to 3.15 and the free-threaded 3.14t and 3.15t. vLLM 0.34.0 installs on 3.11 to 3.14 only. On 3.15, pip install vllm falls back to vLLM 0.8.3 and fails building numba. TensorFlow, ray and onnxruntime have no 3.15 wheel, and on 3.14 pip gives you the TensorFlow pre-release 2.22.0rc1. If you need vLLM, SGLang, ray or TensorFlow, use Python 3.12 or 3.13.

Published 2026-11-30 · Data as of 2026-11-30 (PyPI) · 65 packages, 4,112 releases · 1,040 pip runs with CPython 3.10.20, 3.11.18, 3.12.16, 3.13.18, 3.14.10, 3.15.2 and the 3.14t/3.15t builds, pip 26.3 · Linux x86_64

Which release of a package can I install on my Python?

Pick a package, your Python and your glibc (ldd --version: Ubuntu 22.04 is 2.35, 24.04 is 2.39, Debian 12 is 2.36, RHEL 9 is 2.34, RHEL 8 is 2.28). The answer is read from the wheels on PyPI; for the 26 packages we installed, it also shows what pip did.

Loading the data…

Runs in your browser on data.json and measured.json; nothing is sent anywhere. “abi3” means a wheel built once for an older Python that pip also accepts on newer ones (not on free-threaded builds).

What pip install <package> does on each Python

Each cell is what a plain pip install resolved to when we ran it (dry run, glibc 2.39). Green: the newest release. Orange: an older release, or pip has to compile a dependency from source (the language is named in the errors section). Red: the install fails.

package (newest)3.103.113.123.133.143.14t3.153.15t
vllm 0.34.00.31.0 (old)0.34.00.34.00.34.00.34.0builds vllm from sourcefails building numba (C)fails building vllm (CUDA)
sglang 0.5.23fails (placeholder sdist)0.5.230.5.230.5.23
builds outlines-core
0.5.10.post1 (old)
builds outlines-core
fails building flashinfer-python (CUDA)fails building flashinfer-python (CUDA)fails building flashinfer-python (CUDA)
torch 2.15.02.14.1 (old)2.15.02.15.02.15.02.15.02.15.02.15.02.15.0
transformers 5.24.15.20.2 (old)5.24.15.24.15.24.15.24.15.24.1
builds safetensors
5.24.15.24.1
builds hf-xet, safetensors, tokenizers
accelerate 1.16.01.15.0 (old)1.16.01.16.01.16.01.16.01.16.0
builds safetensors
1.16.01.16.0
builds hf-xet, psutil, safetensors
peft 0.22.00.21.3 (old)0.22.00.22.00.22.00.22.00.22.0
builds safetensors
0.22.00.22.0
builds hf-xet, psutil, safetensors, tokenizers
trl 1.19.01.14.2 (old)1.19.01.19.01.19.01.19.01.19.0
builds safetensors
1.19.01.19.0
builds hf-xet, psutil, safetensors, tokenizers
datasets 5.2.05.2.05.2.05.2.05.2.05.2.05.2.05.2.05.2.0
builds hf-xet
sentence-transformers 6.3.06.3.06.3.06.3.06.3.06.3.06.3.0
builds safetensors
6.3.06.3.0
builds hf-xet, safetensors, tokenizers
bitsandbytes 0.50.20.50.20.50.20.50.20.50.20.50.20.50.20.50.20.50.2
xformers 0.0.360.0.360.0.360.0.360.0.360.0.360.0.360.0.360.0.36
flashinfer-python 0.7.60.7.60.7.60.7.60.7.60.7.60.7.6fails building flashinfer-python (CUDA)fails building flashinfer-python (CUDA)
xgrammar 0.2.90.2.90.2.90.2.90.2.90.2.90.2.9
builds safetensors
0.2.9
builds xgrammar
0.2.9
builds hf-xet, safetensors, tokenizers, xgrammar
outlines 1.3.31.3.31.3.31.3.31.3.30.1.14 (old)
builds outlines-core
0.1.14 (old)
builds outlines-core
0.1.14 (old)
builds outlines-core
0.1.14 (old)
builds outlines-core
llguidance 1.9.11.9.11.9.11.9.11.9.11.9.11.9.11.9.1fails
ray 2.60.12.60.12.60.12.60.12.60.12.60.1no wheel: rayno wheel: rayno wheel: ray
onnxruntime-gpu 1.32.01.23.2 (old)1.32.01.32.01.32.01.32.01.32.0no wheel: onnxruntime-gpuno wheel: onnxruntime-gpu
tensorflow 2.21.02.21.02.21.02.21.02.21.02.22.0rc1 (old)no wheel: tensorflowno wheel: tensorflowno wheel: tensorflow
jax 0.12.10.6.2 (old)0.10.2 (old)0.12.10.12.10.12.10.12.10.12.10.12.1
tiktoken 0.14.00.14.00.14.00.14.00.14.00.14.00.14.00.14.00.14.0
numba 0.68.10.68.10.68.10.68.10.68.10.68.10.68.10.68.10.68.1
builds numba
diffusers 0.43.00.41.0 (old)0.43.00.43.00.43.00.43.00.43.0
builds safetensors
0.43.00.43.0
builds hf-xet, safetensors
gradio 6.32.06.32.06.32.06.32.06.32.06.32.06.32.0
builds brotli, orjson
6.32.06.32.0
builds audioop-lts, brotli, hf-xet, orjson
faster-whisper 1.2.11.2.11.2.11.2.11.2.11.2.11.2.1fails building av (C)fails building av (C)
ctranslate2 4.9.14.9.14.9.14.9.14.9.14.9.14.9.14.9.14.9.1
lm-eval 0.4.130.4.130.4.130.4.130.4.130.4.13fails building lxml (C)fails building lxml (C)fails building lxml (C)

Pure-Python source packages (sqlitedict, rouge-score, word2number for lm-eval) build anywhere in seconds and are not marked. “builds vllm from source”: on 3.14t pip downloads the vLLM sdist and starts a CUDA build (we stopped it after 5 minutes).

What changes on an older glibc, or with wheels only?

With --only-binary=:all: (or uv pip install --no-build), pip does not compile. It silently installs an older release instead, sometimes years old. We ran every package and Python again this way for glibc 2.28 and 2.35. The differences that matter:

Which Python versions does the newest release of each package have wheels for?

A number is the glibc the Linux x86_64 wheel needs (2.28 means manylinux_2_28). “any” is a pure-Python wheel. “sdist”: no wheel, pip compiles it. “Requires-Python”: the release excludes that Python, so pip looks at older releases.

packagenewestdate3.103.113.123.133.143.14t3.153.15t
accelerate1.16.02026-11-16Requires-Pythonanyanyanyanyanyanyany
bitsandbytes0.50.22026-08-272.242.242.242.242.242.242.242.24
cryptography50.0.22026-09-30abi3 2.172.17abi3 2.17abi3 2.17abi3 2.172.172.172.17
ctranslate24.9.12026-11-222.272.272.272.272.272.272.272.27
cupy-cuda12x14.2.02026-08-202.172.172.172.172.172.17nonenone
datasets5.2.02026-11-09anyanyanyanyanyanyanyany
deepspeed0.20.22026-11-28sdistsdistsdistsdistsdistsdistsdistsdist
diffusers0.43.02026-11-12Requires-Pythonanyanyanyanyanyanyany
faiss-cpu1.16.02026-11-102.27abi3 2.27abi3 2.27abi3 2.27abi3 2.27noneabi3 2.27none
faster-whisper1.2.12025-10-31anyanyanyanyanyanyanyany
flash-attn2.8.3.post22026-10-14sdistsdistsdistsdistsdistsdistsdistsdist
flashinfer-python0.7.62026-11-25anyanyanyanyanyanyanyany
gradio6.32.02026-11-12anyanyanyanyanyanyanyany
grpcio1.85.42026-11-242.172.172.172.172.17sdist2.17sdist
h5py3.16.02026-03-062.282.282.282.282.282.28sdistsdist
hf-xet1.8.02026-10-30abi3 2.17abi3 2.17abi3 2.17abi3 2.17abi3 2.172.17abi3 2.17sdist
jax0.12.12026-11-18Requires-PythonRequires-Pythonanyanyanyanyanyany
jaxlib0.12.12026-11-18Requires-PythonRequires-Python2.272.272.272.272.272.27
lightgbm4.7.02026-07-182.272.272.272.272.272.272.272.27
llama-cpp-python0.3.382026-11-23sdistsdistsdistsdistsdistsdistsdistsdist
llguidance1.9.12026-09-30abi3 2.31abi3 2.31abi3 2.31abi3 2.31abi3 2.312.17abi3 2.31sdist
llvmlite0.50.02026-09-292.272.272.272.272.272.272.272.27
lm-eval0.4.132026-08-31anyanyanyanyanyanyanyany
matplotlib3.11.22026-09-11Requires-Python2.172.172.172.272.272.272.27
msgspec0.23.02026-11-282.172.172.172.172.172.172.172.17
numba0.68.12026-10-272.272.272.272.272.272.272.27sdist
numpy2.5.52026-11-15Requires-PythonRequires-Python2.272.272.272.272.272.27
onnx1.23.22026-10-062.272.272.27abi3 2.27abi3 2.272.27abi3 2.27sdist
onnxruntime1.32.02026-11-13Requires-Python2.282.282.282.282.28nonenone
onnxruntime-gpu1.32.02026-11-13Requires-Python2.282.282.282.282.28nonenone
opencv-python-headless5.1.0.952026-11-17abi3 2.17abi3 2.17abi3 2.17abi3 2.17abi3 2.17sdistabi3 2.17sdist
orjson3.13.02026-10-072.172.172.172.172.17sdist2.39sdist
outlines1.3.32026-08-06anyanyanyanyRequires-PythonRequires-PythonRequires-PythonRequires-Python
outlines-core0.2.142026-01-092.172.172.172.172.17sdistsdistsdist
pandas3.1.12026-11-04Requires-Python2.242.242.242.242.242.242.24
peft0.22.02026-11-19Requires-Pythonanyanyanyanyanyanyany
pillow13.0.02026-10-16Requires-Python2.272.272.272.272.272.272.27
polars2.2.02026-11-24Requires-Pythonanyanyanyanyanyanyany
protobuf7.36.22026-09-17anyanyanyanyanyanyanyany
pyarrow26.0.12026-11-03Requires-Python2.282.282.282.282.282.282.28
pydantic-core2.50.52026-11-192.172.172.172.172.172.172.172.17
pyzmq27.3.02026-11-042.262.262.26abi3 2.26abi3 2.262.26abi3 2.262.26
ray2.60.12026-11-232.172.172.172.172.17nonenonenone
regex2026.11.252026-11-26Requires-Python2.172.172.172.172.172.172.17
safetensors0.8.02026-06-092.17abi3 2.17abi3 2.17abi3 2.17abi3 2.17sdistabi3 2.17sdist
scikit-learn1.9.12026-09-10Requires-Python2.272.272.272.272.272.272.27
scipy1.18.12026-08-21Requires-PythonRequires-Python2.272.272.272.272.272.27
sentence-transformers6.3.02026-11-11anyanyanyanyanyanyanyany
sentencepiece0.2.32026-11-052.272.272.272.272.272.272.272.27
sglang0.5.232026-10-30Requires-Python2.342.342.34nonenonenonenone
tensorflow2.21.02026-03-062.272.272.272.27nonenonenonenone
tiktoken0.14.02026-08-172.282.282.282.282.282.282.282.28
tokenizers0.23.32026-10-092.17abi3 2.17abi3 2.17abi3 2.17abi3 2.172.17abi3 2.17sdist
torch2.15.02026-10-28Requires-Python2.282.282.282.282.282.282.28
torchaudio2.11.12026-10-282.282.282.282.282.282.282.282.28
torchcodec0.17.02026-09-302.272.272.272.272.272.27nonenone
torchvision0.29.22026-10-282.282.282.282.282.282.282.282.28
transformers5.24.12026-11-24Requires-Pythonanyanyanyanyanyanyany
triton3.9.02026-10-27Requires-Python2.272.27abi3 2.27abi3 2.272.27abi3 2.272.27
trl1.19.02026-11-25Requires-Pythonanyanyanyanyanyanyany
uvloop0.23.02026-10-012.172.172.172.172.172.172.172.17
vllm0.34.02026-11-16Requires-Pythonabi3 2.28abi3 2.28abi3 2.28abi3 2.28sdistRequires-PythonRequires-Python
xformers0.0.362026-11-13anyanyanyanyanyanyanyany
xgboost3.4.12026-08-15Requires-PythonRequires-Python2.282.282.282.282.282.28
xgrammar0.2.92026-11-092.272.272.272.272.272.27sdistsdist

Read from the PyPI JSON API on 2026-11-30: the newest final release (no pre-releases, no yanked files), its Requires-Python, and every wheel's tags. Linux x86_64 glibc only (no musllinux, no aarch64). torchvision 0.29.2 also excludes exactly 3.14.1 (!=3.14.1), which this table does not show.

What the errors mean

“Cannot install on Python version 3.15.2; only versions >=3.10,<3.14 are supported” / “Failed to build 'numba' when getting requirements to build wheel”

You ran pip install vllm on Python 3.15. Every vLLM release from 0.8.4 on declares a Python upper bound that excludes 3.15 (0.34.0: <3.15), so pip falls back to vLLM 0.8.3 (2025-04-06), whose Requires-Python is just >=3.9. It pins numba==0.61 and torch==2.6.0. numba 0.61 has no 3.15 wheel, and its setup.py refuses newer Pythons. The fix is a Python vLLM supports (3.11 to 3.14), not numba.

“Ignored the following versions that require a different python version: … 0.34.0 Requires-Python <3.15,>=3.11” / “No matching distribution found for vllm==0.34.0”

The same thing when you pin the version. pip lists every release it skipped and the Requires-Python of each. This is the message to look for: it names the Python range the package accepts.

“Could not find a version that satisfies the requirement tensorflow (from versions: none)”

No release has a wheel for your Python and there is no sdist, so there is nothing to fall back to. As of 2026-11-30 this is TensorFlow on 3.14t, 3.15 and 3.15t, ray on 3.14t, 3.15 and 3.15t, and onnxruntime / onnxruntime-gpu on 3.15 and 3.15t. faster-whisper on 3.15 fails differently: it needs onnxruntime and PyAV, and pip first tries to compile av.

“Cargo, the Rust package manager, is not installed or is not on PATH”

pip is compiling a Rust package because no wheel matches. On the free-threaded builds this is the norm: abi3 wheels never install there, so tokenizers, safetensors and hf-xet (for transformers, peft, trl, sentence-transformers) build from source on 3.15t, and safetensors also on 3.14t. outlines-core 0.1.26, which outlines 0.1.x needs (sglang pins outlines 0.1.11), has no wheel past 3.12, so pip compiles it from Rust for sglang on 3.13 and 3.14 and for outlines on 3.14 and newer. Use the regular build (python3.15, not python3.15t), or install a Rust toolchain.

pip installed tensorflow-2.22.0rc1 on Python 3.14

pip accepts a pre-release when no final release fits. TensorFlow 2.21.0 stops at cp313; 2.22.0rc1 (2026-11-16) has a cp314 wheel. Pin tensorflow==2.21.0 and use 3.13 if you need a stable release.

How this was measured

  1. PyPI JSON for 65 packages, read on 2026-11-30. For every final release since 2021-10-01 (Python 3.10.0 came out on 2021-10-04), each wheel's tags were matched against each CPython: cp3X-cp3X exactly, abi3 for that version and newer (not free-threaded), cp3Xt and abi3t for free-threaded, py3-none-any everywhere, all only where the file's Requires-Python allows. A wheel counts on Linux x86_64 if its manylinux tag is at or below your glibc.
  2. For 26 packages people install as the top of a stack, the real pip 26.3 of CPython 3.10.20, 3.11.18, 3.12.16, 3.13.18, 3.14.10, 3.15.2, 3.14.10t and 3.15.2t ran pip install --dry-run --report: once plainly (sdists allowed, on Ubuntu with glibc 2.39), and with --only-binary=:all: plus every manylinux tag up to glibc 2.28 and 2.35. A second wheels-only run pinned the newest release to find what blocks it. uv 0.13.10 (uv pip install --dry-run --python-platform x86_64-manylinux_2_XX --only-binary :all:) ran on the same interpreters.
  3. Source packages pip would compile were classified by their sdist contents (maturin or Cargo.toml: Rust; .c/.cpp files: C/C++).

Two traps if you repeat this with one interpreter: pip's --python-version still evaluates markers such as python_version >= "3.13" against the Python that runs pip, and an explicit --platform manylinux_2_35_x86_64 does not include the older manylinux tags. We first got wrong answers both ways, so every run here uses the real interpreter and the full tag list.

What this page does not cover

Questions

Does vLLM support Python 3.15?
No. vLLM 0.34.0 (2026-11-16) declares Requires-Python <3.15,>=3.11, so pip skips it on 3.15. A plain pip install vllm on 3.15 then falls back to vLLM 0.8.3 (2025-04-06), the newest release with no upper bound, and fails building its pinned numba==0.61 with "Cannot install on Python version 3.15.2; only versions >=3.10,<3.14 are supported". Use Python 3.12, 3.13 or 3.14.
Which Python versions does PyTorch 2.15 support?
Linux x86_64 wheels for CPython 3.11, 3.12, 3.13, 3.14 and 3.15, plus the free-threaded 3.14t and 3.15t builds (all manylinux_2_28). There is no 3.10 wheel: Requires-Python is >=3.11, so pip on 3.10 installs torch 2.14.1.
Can I install TensorFlow on Python 3.14 or 3.15?
Not a stable release. TensorFlow 2.21.0 has wheels up to 3.13. On 3.14, pip install tensorflow installs the pre-release 2.22.0rc1 (2026-11-16) because pip accepts a pre-release when no final release fits. On 3.15 there is no wheel at all: "Could not find a version that satisfies the requirement tensorflow (from versions: none)".
Why does pip install an ancient version instead of failing?
pip walks back through older releases until one fits. A release with no Requires-Python upper bound, or a pure-Python wheel, looks installable on any new Python. With --only-binary=:all: (or uv pip install --no-build) we measured transformers 2.3.0 (2019) on 3.15t, gradio 2.8.2 (2022) on 3.15 below glibc 2.39, and outlines 0.0.41 on 3.14. Pin the version you want: pip install "transformers==5.24.1" then fails with the real reason.
Which ML packages have no Python 3.15 wheel yet?
Of the 65 packages in the table, the newest release has no cp315 (or abi3) Linux wheel for: ray 2.60.1, onnxruntime and onnxruntime-gpu 1.32.0, tensorflow 2.21.0, cupy-cuda12x 14.2.0, torchcodec 0.17.0, sglang 0.5.23 (no wheel and no sdist), and xgrammar 0.2.9, outlines-core 0.2.14 and h5py 3.16.0 (sdist only, so pip compiles them). vLLM excludes 3.15 in Requires-Python.
Is the free-threaded build (3.14t, 3.15t) supported?
PyTorch 2.15, NumPy 2.5, SciPy 1.18, pandas 3.1, scikit-learn 1.9 and tiktoken have 3.14t and 3.15t wheels. vLLM, ray and TensorFlow do not. abi3 wheels never install on a free-threaded interpreter, so tokenizers, safetensors and hf-xet are built from Rust source on 3.15t (on 3.14t safetensors still is).

Related: vLLM compatibility matrix: which PyTorch, CUDA and NVIDIA driver each release needs; Triton import errors and the Triton each PyTorch pins; vLLM arguments and environment variables removed by release.

Sources