vllm icon indicating copy to clipboard operation
vllm copied to clipboard

[Installation]: subprocess-exited-with-error while installing vllm

Open kailashp19 opened this issue 10 months ago • 10 comments

Your current environment

while doing pip install vllm on vscode running on windows machine. Getting below error for pytorch specific version installation.

Collecting vllm
  Using cached vllm-0.7.2.tar.gz (5.4 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Collecting cmake>=3.26
        Using cached cmake-3.31.4-py3-none-win_amd64.whl.metadata (6.5 kB)
      Collecting ninja
        Using cached ninja-1.11.1.3-py3-none-win_amd64.whl.metadata (5.3 kB)
      Collecting packaging
        Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
      Collecting setuptools>=61
        Using cached setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
      Collecting setuptools-scm>=8.0
        Using cached setuptools_scm-8.1.0-py3-none-any.whl.metadata (6.6 kB)
      ERROR: Could not find a version that satisfies the requirement torch==2.5.1 (from versions: 2.6.0)
      ERROR: No matching distribution found for torch==2.5.1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.2 -> 25.0
[notice] To update, run: python.exe -m pip install --upgrade pip
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

How you are installing vllm

pip install vllm

Before submitting a new issue...

  • [x] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

kailashp19 avatar Feb 08 '25 17:02 kailashp19