Python Poetry fails to add openai-whisper due to triton installation e

打印 上一主题 下一主题

主题 1054|帖子 1054|积分 3162

题意:Python Poetry 因 Triton 安装错误而无法添加 openai-whisper。


问题配景:

so im trying to use openai-whisper. i'm using poetry as my env and dependecy manager. but keep getting errors when trying to download it. the error i get is, Installing triton (2.0.0): Failed
i tried the typical poetry add and this is the error
所以我正在实验利用 openai-whisper。我利用 Poetry 作为我的环境和依靠管理器,但在实验下载时不停出现错误。碰到的错误是:安装 triton (2.0.0) 失败。
我实验了常规的 `poetry add` 下令,但出现了这个错误。
  1. poetry add openai-whisper
  2. Using version ^20230314 for openai-whisper
  3.   • Installing triton (2.0.0): Failed
  4.   RuntimeError
  5.   Unable to find installation candidates for triton (2.0.0)
  6.   at /usr/local/Cellar/poetry/1.4.2/libexec/lib/python3.11/site-packages/poetry/installation/chooser.py:109 in choose_for
  7.       105│
  8.       106│             links.append(link)
  9.       107│
  10.       108│         if not links:
  11.     → 109│             raise RuntimeError(f"Unable to find installation candidates for {package}")
  12.       110│
  13.       111│         # Get the best link
  14.       112│         chosen = max(links, key=lambda link: self._sort_key(package, link))
复制代码


问题解决:

I've found a way to make this work (even for Windows). You could add the package with poetry using the git repo of whisper:
我找到了一种方法可以使其工作(纵然在 Windows 上也可以)。你可以利用 whisper 的 Git 堆栈通过 Poetry 添加这个包:
  1. poetry add git+https://github.com/openai/whisper.git
复制代码






免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

络腮胡菲菲

论坛元老
这个人很懒什么都没写!
快速回复 返回顶部 返回列表