# 错误：忽略了以下被撤回的版本：1.2.3
错误：找不到满足要求 foo==1.2.3 的版本（可用版本：1.0.0, 1.1.0, 1.2.0）

- **ID:** `python/pip-yanked-version`
- **领域:** python
- **类别:** install_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

特定版本由于错误或安全问题已从 PyPI 撤回。

## 版本兼容性

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

## 解决方案

1. **** (95% 成功率)
   ```
   Install a different version: `pip install foo==1.2.0` or the latest.
   ```
2. **** (80% 成功率)
   ```
   If you must use the yanked version, install from a wheel file directly: `pip install foo-1.2.3-py3-none-any.whl`.
   ```

## 无效尝试

- **** — pip explicitly ignores yanked versions unless they are the only option; forcing may require pinning with `--force-reinstall` but still risky. (70% 失败率)
- **** — Yanked versions are not pre-releases; flag does not help. (90% 失败率)
