# 错误：找不到满足要求的版本 mypackage（来自版本：无）
错误：未找到 mypackage 的匹配发行版

- **ID:** `python/pip-no-binary-available`
- **领域:** python
- **类别:** module_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

包名称拼写错误、在 PyPI 上不存在或需要不同的索引 URL。

## 版本兼容性

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

## 解决方案

1. **Check the correct package name on PyPI** (90% 成功率)
   ```
   pip search mypackage (or visit https://pypi.org/project/mypackage)
   ```
2. **Specify an alternative index if the package is private** (85% 成功率)
   ```
   pip install --index-url https://private-pypi.example.com/simple mypackage
   ```

## 无效尝试

- **Installing with --pre flag** — If the package does not exist at all, pre-releases don't help. (80% 失败率)
- **Using pip install with uppercase name** — pip is case-insensitive for PyPI packages, but the name might still be wrong. (70% 失败率)
