triton-lang / triton

Development repository for the Triton language and compiler
https://triton-lang.org/
MIT License
12.49k stars 1.51k forks source link

Macos poetry add triton@2.2.0 installation triton error #4228

Open java668 opened 2 months ago

java668 commented 2 months ago
(app-py3.10) (base) apple@mac funasr_server % poetry add triton@2.2.0

Updating dependencies
Resolving dependencies... (3.6s)

Package operations: 1 install, 0 updates, 0 removals

  - Installing triton (2.2.0): Failed

  RuntimeError

  Unable to find installation candidates for triton (2.2.0)

  at /usr/local/lib/python3.11/site-packages/poetry/installation/chooser.py:74 in choose_for
       70│ 
       71│             links.append(link)
       72│ 
       73│         if not links:
    →  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
       75│ 
       76│         # Get the best link
       77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
       78│ 

Cannot install triton.
Hybridhash commented 1 month ago

You got this issue resolved as i am also facing the same error using potery