python
install_error
ai_generated
true
错误:未找到与 somepackage==999.0.0 匹配的发行版
ERROR: No matching distribution found for somepackage==999.0.0
ID: python/pip-no-distribution-found
80%修复率
85%置信度
0证据数
2024-01-15首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| 3.8 | active | — | — | — |
| 3.9 | active | — | — | — |
| 3.10 | active | — | — | — |
| 3.11 | active | — | — | — |
| 3.12 | active | — | — | — |
根因分析
请求的包版本在 PyPI 或配置的索引上不存在。
English
The requested package version does not exist on PyPI or the configured index.
解决方案
-
95% 成功率
pip install somepackage==1.2.3
-
85% 成功率
pip install somepackage==999.0.0 --index-url https://private-pypi.example.com/simple
无效尝试
常见但无效的做法:
-
95% 失败
Package version unavailability is not a pip version issue; downgrading may break other functionality.
-
100% 失败
Random URLs do not contain the package; pip will still fail.