Skip to content

[BUG]按照官方脚本,源代码安装失败 #1179

@bluemoon-o2

Description

@bluemoon-o2

bash
`conda create -n lightllm python=3.9 -y
conda activate lightllm

git clone https://github.com/ModelTC/lightllm.git
cd lightllm

pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu124`

报错如下:
Collecting flashinfer-python==0.2.4 (from -r requirements.txt (line 83)) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a4/e5/8d193ccf65b92c009c4be50fdffa88fa0edc8fd6e6169bacaca6bab84d89/flashinfer_python-0.2.4.tar.gz (1.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done ERROR: Ignored the following versions that require a different python version: 0.40.0 Requires-Python >=3.10; 0.5.3 Requires-Python <4.0,>=3.10; 0.6.0 Requires-Python <4.0,>=3.10; 0.6.0rc1 Requires-Python <4.0,>=3.10; 0.6.0rc2 Requires-Python <4.0,>=3.10; 0.6.1 Requires-Python <4.0,>=3.10; 12.0.0 Requires-Python >=3.10; 12.1.0 Requires-Python >=3.10; 14.5.0 Requires-Python >=3.10; 2.1.0 Requires-Python >=3.10; 2.1.1 Requires-Python >=3.10; 2.1.2 Requires-Python >=3.10; 2.1.3 Requires-Python >=3.10; 2.2.0 Requires-Python >=3.10; 2.2.1 Requires-Python >=3.10; 2.2.2 Requires-Python >=3.10; 2.2.3 Requires-Python >=3.10; 2.2.4 Requires-Python >=3.10; 2.2.5 Requires-Python >=3.10; 2.2.6 Requires-Python >=3.10; 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; 2025.12.0 Requires-Python >=3.10; 2026.1.0 Requires-Python >=3.10; 25.12.0 Requires-Python >=3.10; 26.1a1 Requires-Python >=3.10; 3.10.0 Requires-Python >=3.10; 3.10.0rc1 Requires-Python >=3.10; 3.10.1 Requires-Python >=3.10; 3.10.3 Requires-Python >=3.10; 3.10.5 Requires-Python >=3.10; 3.10.6 Requires-Python >=3.10; 3.10.7 Requires-Python >=3.10; 3.10.8 Requires-Python >=3.10; 3.20.0 Requires-Python >=3.10; 3.20.1 Requires-Python >=3.10; 3.20.2 Requires-Python >=3.10; 3.20.3 Requires-Python >=3.10; 3.3 Requires-Python >=3.10; 3.3rc0 Requires-Python >=3.10; 3.4 Requires-Python >=3.10; 3.4.1 Requires-Python >=3.10; 3.4.2 Requires-Python >=3.10; 3.4rc0 Requires-Python >=3.10; 3.5 Requires-Python >=3.11; 3.5rc0 Requires-Python >=3.11; 3.6 Requires-Python >=3.11; 3.6.1 Requires-Python >=3.11,!=3.14.1; 3.6rc0 Requires-Python >=3.11; 4.1.0 Requires-Python >=3.10; 4.1.1 Requires-Python >=3.10; 4.1.2 Requires-Python >=3.10; 4.14.0 Requires-Python >=3.10; 4.15.0 Requires-Python >=3.10; 4.2.0 Requires-Python >=3.10; 5.0.0rc0 Requires-Python >=3.10.0; 5.0.0rc1 Requires-Python >=3.10.0; 5.0.0rc2 Requires-Python >=3.10.0; 8.2.0 Requires-Python >=3.10; 8.2.1 Requires-Python >=3.10; 8.2.2 Requires-Python >=3.10; 8.3.0 Requires-Python >=3.10; 8.3.1 Requires-Python >=3.10 ERROR: Could not find a version that satisfies the requirement sgl-kernel==0.3.7.post1 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.2.post1, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.6.post1, 0.1.7, 0.1.8, 0.1.8.post1, 0.1.8.post2, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.6.post1, 0.2.7, 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.3.3) ERROR: No matching distribution found for sgl-kernel==0.3.7.post1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions