python
install_error
ai_generated
true
错误:无效的命令'bdist_wheel'
error: invalid command 'bdist_wheel'
ID: python/setuptools-unsupported-wheel-format
80%修复率
90%置信度
0证据数
2024-02-28首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| 3.9 | active | — | — | — |
根因分析
安装的setuptools版本太旧,不支持构建wheel发行版,或缺少'wheel'包。
English
The setuptools version installed is too old to support building wheel distributions, or the 'wheel' package is missing.
解决方案
-
95% 成功率
pip install --upgrade setuptools wheel
-
90% 成功率
python -m pip install setuptools wheel
-
85% 成功率
pip wheel . --no-deps
无效尝试
常见但无效的做法:
-
100% 失败
Same error; command not available.
-
50% 失败
May not be in the right environment.
-
60% 失败
Reinstalls but setuptools still too old.