Failed to install SGLang
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:
- loosen the range of package versions you've specified
- 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
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.post1Additionally, some packages in these conflicts have no matching distributions available for your environment:
sgl-kernelTo fix this you could try to:
- loosen the range of package versions you've specified
- 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.