python
install_error
ai_generated
true
ERROR: No matching distribution found for package==1.2.3
ID: python/pip-install-error-no-matching-distribution
80%Fix Rate
88%Confidence
0Evidence
2024-07-22First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.x | active | — | — | — |
Root Cause
The specified version of the package is not available on the configured index, or it is not compatible with the current Python version or platform.
generic中文
指定的包版本在配置的索引上不可用,或者与当前 Python 版本或平台不兼容。
Workarounds
-
90% success
pip index versions package
-
85% success
pip install package==1.2.2
-
80% success
pip install --index-url https://custom.pypi.org/simple package==1.2.3
Dead Ends
Common approaches that don't work:
-
90% fail
Cache is not the issue; the version truly does not exist.
-
95% fail
Upgrading pip does not create the missing version.
-
95% fail
Force reinstall cannot install a non-existent distribution.