元数据
| id | skillspector-1 | 收录 | 2026-08-29 |
|---|---|---|---|
| 问题域 | 安全与治理 | 主题分组 | 安装与依赖 |
| 适用工具 | skillspector | ||
症状
`pip install skillspector==2.10.0` 报:
```
ERROR: Could not find a version that satisfies the requirement skillspector==2.10.0 (from versions: none)
ERROR: No matching distribution found for skillspector==2.10.0
```
原因
**skillspector 不在 PyPI 上**——发行渠道 = GitHub Release(wheel + sdist 资产)。按 PyPI 方式安装必然失败;这是国内教程最常见的坑(部分教程写 `pip install git+...` 也是绕行做法)。
解法
1. 正确姿势(本市场实测):下载 release wheel 后 pip 安装:
```
curl -sL -o skillspector-2.10.0-py3-none-any.whl https://gh-proxy.com/https://github.com/NVIDIA/SkillSpector/releases/download/v2.10.0/skillspector-2.10.0-py3-none-any.whl
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple skillspector-2.10.0-py3-none-any.whl
```
2. 注意 wheel 文件名必须保持原样(pip 校验文件名格式,改短会报 `Invalid wheel filename`)。
3. 也可 `pip install git+https://github.com/NVIDIA/SkillSpector.git`(源码方式,国内直连不稳)。
验证证据
- 本市场实测 2026-08-28(实测记录(本地留存)):PyPI JSON API → `{"message": "Not Found"}`;清华镜像 simple → 404;`pip index versions` → No matching distribution。三路复核确认 PyPI 无此包。
- 闭环 v3:wheel 下载 468K → pip 安装全部依赖成功 → `SkillSpector v2.10.0` → install exit=0。
来源与证据
素材来源:本站实测沉淀(2026-08-28)
验证证据:site docs#1;local repro log