# 警告：跳过 foo，因为它未安装。

- **ID:** `python/pip-uninstall-not-found`
- **领域:** python
- **类别:** config_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

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

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.x | active | — | — |

## 解决方案

1. **** (90% 成功率)
   ```
   pip list | grep -i foo
pip uninstall -y Foo-Bar
   ```
2. **** (85% 成功率)
   ```
   python -m pip uninstall -y foo
   ```

## 无效尝试

- **** — Same warning; package still not found. (90% 失败率)
- **** — Leaves .dist-info and breaks pip metadata; may remove unrelated files. (70% 失败率)
