4

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

poetry add openai-whisper 
Using version ^20230314 for openai-whisper

  • Installing triton (2.0.0): Failed

  RuntimeError

  Unable to find installation candidates for triton (2.0.0)

  at /usr/local/Cellar/poetry/1.4.2/libexec/lib/python3.11/site-packages/poetry/installation/chooser.py:109 in choose_for
      105│ 
      106│             links.append(link)
      107│ 
      108│         if not links:
    → 109│             raise RuntimeError(f"Unable to find installation candidates for {package}")
      110│ 
      111│         # Get the best link
      112│         chosen = max(links, key=lambda link: self._sort_key(package, link))
Brooks
  • 41
  • 2
  • What about installing this way `poetry add git+https://github.com/openai/whisper.git`? – John Aug 17 '23 at 05:49

1 Answers1

0

Most likely triton isnt available for combination of your platform + Python version.

When I stumble upon similar issue, I try to install the package manually via pip (pip install triton==2.0.0) and that usually gives me more detailed error message what went wrong.

If this wont help, please update the question with following:

  • what's the version of Python in your pyproject.toml?
  • what's your platform?
yedpodtrzitko
  • 9,035
  • 2
  • 40
  • 42