# 错误：无法解析依赖项：'numpy @ git+https://github.com/numpy/numpy.git'

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

## 根因

pip版本可能过旧，不支持PEP 508 URL依赖项，或语法不正确。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.9 | active | — | — |

## 解决方案

1. **Upgrade pip to latest version** (95% 成功率)
   ```
   pip install --upgrade pip
pip install 'numpy @ git+https://github.com/numpy/numpy.git'
   ```
2. **Use git+https directly without @** (90% 成功率)
   ```
   pip install git+https://github.com/numpy/numpy.git
   ```

## 无效尝试

- **Removing the @ symbol** — Changes requirement meaning; pip may try to install from PyPI instead. (80% 失败率)
- **Using --process-dependency-links (deprecated)** — This flag is removed in newer pip versions. (90% 失败率)
