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

Also available as: JSON · Markdown · 中文
80%Fix Rate
88%Confidence
0Evidence
2025-03-10First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
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

  1. 95% success
    pip install package==1.0.1
  2. 90% success
    pip index versions package
  3. 60% success
    pip install --no-deps package==1.0.0

Dead Ends

Common approaches that don't work:

  1. 95% fail

    Force reinstall does not bypass yanked version warnings.

  2. 99% fail

    This flag does not exist; pip respects yanked versions.

  3. 90% fail

    The version remains yanked.