小编Bro*_*oks的帖子

由于triton安装错误,Python Poetry无法添加openai-whisper

所以我尝试使用 openai-whisper。我正在使用诗歌作为我的环境和依赖管理器。但尝试下载时不断出现错误。我得到的错误是,安装 triton (2.0.0): 失败

\n

我尝试了典型的诗歌添加,这是错误

\n
poetry add openai-whisper \nUsing version ^20230314 for openai-whisper\n\n  \xe2\x80\xa2 Installing triton (2.0.0): Failed\n\n  RuntimeError\n\n  Unable to find installation candidates for triton (2.0.0)\n\n  at /usr/local/Cellar/poetry/1.4.2/libexec/lib/python3.11/site-packages/poetry/installation/chooser.py:109 in choose_for\n      105\xe2\x94\x82 \n      106\xe2\x94\x82             links.append(link)\n      107\xe2\x94\x82 \n      108\xe2\x94\x82         if not links:\n    \xe2\x86\x92 109\xe2\x94\x82             raise RuntimeError(f"Unable to find installation candidates for {package}")\n      110\xe2\x94\x82 \n      111\xe2\x94\x82         # Get the best link\n      112\xe2\x94\x82         chosen = max(links, key=lambda link: self._sort_key(package, link))\n
Run Code Online (Sandbox Code Playgroud)\n

python-3.x python-poetry openai-whisper

6
推荐指数
1
解决办法
1831
查看次数

标签 统计

openai-whisper ×1

python-3.x ×1

python-poetry ×1