python
config_error
ai_generated
true
WARNING: Skipping foo as it is not installed.
ID: python/pip-uninstall-not-found
80%Fix Rate
82%Confidence
0Evidence
2025-05-06First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.x | active | — | — | — |
Root Cause
pip uninstall target is installed under a different name or in a different environment.
generic中文
pip uninstall 的目标以不同名称安装,或位于不同环境中。
Workarounds
-
90% success
pip list | grep -i foo pip uninstall -y Foo-Bar
-
85% success
python -m pip uninstall -y foo
Dead Ends
Common approaches that don't work:
-
90% fail
Same warning; package still not found.
-
70% fail
Leaves .dist-info and breaks pip metadata; may remove unrelated files.