python
install_error
ai_generated
true
ERROR: The candidate selected for download or install is a yanked version: 'package' candidate (version 1.0.0 at https://pypi.org/simple/package/) Reason for being yanked: <none given>
ID: python/pip-install-error-yanked-version
80%Fix Rate
88%Confidence
0Evidence
2025-03-10First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.x | active | — | — | — |
Root Cause
The specified version of the package has been yanked from PyPI, meaning it should not be used.
generic中文
指定的包版本已从 PyPI 撤回,意味着不应使用该版本。
Workarounds
-
95% success
pip install package==1.0.1
-
90% success
pip index versions package
-
60% success
pip install --no-deps package==1.0.0
Dead Ends
Common approaches that don't work:
-
95% fail
Force reinstall does not bypass yanked version warnings.
-
99% fail
This flag does not exist; pip respects yanked versions.
-
90% fail
The version remains yanked.