You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装OpenAI Whisper时遇setuptools缺失错误,如何解决?

解决OpenAI Whisper安装失败问题

错误根源

安装日志明确提示:ERROR: Can not execute setup.py since setuptools is not available in the build environment.,说明当前Python环境缺少构建包必需的setuptools工具。

解决步骤

  • 先升级setuptools和wheel(Python包构建核心依赖):
    pip install --upgrade setuptools wheel
    
  • 完成后重新执行Whisper安装命令:
    pip install git+https://github.com/openai/whisper.git
    

额外排查项

如果仍出现异常,可检查:

  • 确认当前pip和Python属于同一环境(若使用虚拟环境需先激活)
  • 确保网络稳定,能正常克隆Whisper的GitHub仓库

内容的提问来源于stack exchange,提问作者foxy

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.06 08:11:27