# 要求已满足：foo 在 /usr/local/lib/python3.11/site-packages (1.0.0) 中，但您拥有 foo 2.0.0

- **ID:** `python/pip-requirement-already-satisfied-but-not-installed`
- **领域:** python
- **类别:** config_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

同一包有多个安装，通常由于用户与系统 site-packages 冲突。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.8 | active | — | — |
| 3.9 | active | — | — |
| 3.10 | active | — | — |
| 3.11 | active | — | — |
| 3.12 | active | — | — |

## 解决方案

1. **** (90% 成功率)
   ```
   Check `pip list` and `python -m pip list` to see which pip is used; ensure you're using the correct environment.
   ```
2. **** (85% 成功率)
   ```
   Use `pip install --force-reinstall foo` or uninstall all copies: `pip uninstall foo -y && pip install foo`.
   ```

## 无效尝试

- **** — May not resolve the conflict if multiple installations exist. (60% 失败率)
- **** — May leave stale files or not remove all copies. (50% 失败率)
