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

其他格式: JSON · Markdown 中文 · English
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.

generic

解决方案

  1. 95% 成功率
    pip install somepackage==1.2.3
  2. 85% 成功率
    pip install somepackage==999.0.0 --index-url https://private-pypi.example.com/simple

无效尝试

常见但无效的做法:

  1. 95% 失败

    Package version unavailability is not a pip version issue; downgrading may break other functionality.

  2. 100% 失败

    Random URLs do not contain the package; pip will still fail.