# 错误：无法为 package 构建 wheel，该包使用 PEP 517 且无法直接安装

- **ID:** `python/setuptools-missing-build-backend`
- **领域:** python
- **类别:** install_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

该包使用 PEP 517 构建后端，但所需的构建依赖（如 setuptools、wheel 或自定义后端）未安装在隔离的构建环境中。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.x | active | — | — |

## 解决方案

1. **** (90% 成功率)
   ```
   pip install setuptools wheel cython  # then pip install package
   ```
2. **** (85% 成功率)
   ```
   pip install setuptools wheel && pip install package --no-build-isolation
   ```

## 无效尝试

- **** — Disabling build isolation requires the build backend to already be installed in the current environment; if it isn't, the error persists. (70% 失败率)
- **** — Upgrading pip does not install the missing build backend specified in pyproject.toml [build-system].requires. (80% 失败率)
