pip
security_warning
ai_generated
true
WARNING: The candidate selected for download or install is a yanked version
ID: pip/yanked-version-warning
88%Fix Rate
88%Confidence
50Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 24 | active | — | — | — |
Root Cause
Package version was yanked (recalled) from PyPI. Usually has a critical bug or security issue.
genericWorkarounds
-
95% success Install a different version: pip install 'pkg!=yanked_version'
pip install 'pkg!=yanked_version'
-
90% success Check PyPI for the reason it was yanked and the recommended replacement version
Check PyPI for the reason it was yanked and the recommended replacement version
Sources: https://pypi.org/
-
88% success Update to the latest non-yanked version: pip install --upgrade pkg
pip install --upgrade pkg
Dead Ends
Common approaches that don't work:
-
Pin to the yanked version to suppress the warning
80% fail
The version was yanked for a reason — likely has a serious issue
-
Ignore the warning
75% fail
You may be installing a broken or vulnerable version
Error Chain
Frequently confused with: