Failed to install SGLang

#3
by P1atinum - opened

when I followed the installation guide for SGLang, I ran into the following errors.

pip install sglang==0.5.3 sgl-kernel==0.3.15 torch==2.8.0 torchvision==0.23.0 torchao
ERROR: Cannot install sgl-kernel==0.3.15 and sglang==0.5.3 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested sgl-kernel==0.3.15
sglang 0.5.3 depends on sgl-kernel==0.3.14.post1

Additionally, some packages in these conflicts have no matching distributions available for your environment:
sgl-kernel

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

inclusionAI org

when I followed the installation guide for SGLang, I ran into the following errors.

pip install sglang==0.5.3 sgl-kernel==0.3.15 torch==2.8.0 torchvision==0.23.0 torchao
ERROR: Cannot install sgl-kernel==0.3.15 and sglang==0.5.3 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested sgl-kernel==0.3.15
sglang 0.5.3 depends on sgl-kernel==0.3.14.post1

Additionally, some packages in these conflicts have no matching distributions available for your environment:
sgl-kernel

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

In my environment, the versions are sglang==0.5.3rc0 and sgl-kernel==0.3.15.

bestfleer changed discussion status to closed

Sign up or log in to comment