Bro*_*oks 6 python-3.x python-poetry openai-whisper
所以我尝试使用 openai-whisper。我正在使用诗歌作为我的环境和依赖管理器。但尝试下载时不断出现错误。我得到的错误是,安装 triton (2.0.0): 失败
\n我尝试了典型的诗歌添加,这是错误
\npoetry 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))\nRun Code Online (Sandbox Code Playgroud)\n
很可能triton不适用于您的平台 + Python 版本的组合。
当我偶然发现类似的问题时,我尝试通过 pip ( pip install triton==2.0.0) 手动安装软件包,这通常会给我更详细的错误消息,说明出了什么问题。
如果这没有帮助,请更新问题如下:
pyproject.toml?| 归档时间: |
|
| 查看次数: |
1831 次 |
| 最近记录: |