# 错误：命令'['/usr/bin/python3', '-m', 'pip', 'install', '--disable-pip-version-check', '--no-input', '--no-index', '--find-links', '/tmp/pip-build-.../package', 'package']'返回非零退出状态1。

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

## 根因

在构建过程中，pip尝试在隔离环境中安装构建依赖，但其中一个依赖安装失败，通常由于编译错误。

## 版本兼容性

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

## 解决方案

1. **** (80% 成功率)
   ```
   pip install --no-index --find-links /tmp/pip-build-.../package some-dependency
   ```
2. **** (85% 成功率)
   ```
   pip install --only-binary :all: package
   ```
3. **** (80% 成功率)
   ```
   pip install --upgrade pip setuptools wheel
   ```

## 无效尝试

- **** — May work but hides the underlying dependency issue. (60% 失败率)
- **** — May miss some dependencies. (50% 失败率)
- **** — Only shows more output, doesn't fix. (90% 失败率)
