python config_error ai_generated true

WARNING: Skipping foo as it is not installed.

ID: python/pip-uninstall-not-found

Also available as: JSON · Markdown · 中文
80%Fix Rate
82%Confidence
0Evidence
2025-05-06First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
3.x active

Root Cause

pip uninstall target is installed under a different name or in a different environment.

generic

中文

pip uninstall 的目标以不同名称安装,或位于不同环境中。

Workarounds

  1. 90% success
    pip list | grep -i foo
    pip uninstall -y Foo-Bar
  2. 85% success
    python -m pip uninstall -y foo

Dead Ends

Common approaches that don't work:

  1. 90% fail

    Same warning; package still not found.

  2. 70% fail

    Leaves .dist-info and breaks pip metadata; may remove unrelated files.