Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find torch candidate while building environment #26

Open
20Mhz opened this issue Dec 14, 2024 · 0 comments
Open

Can't find torch candidate while building environment #26

20Mhz opened this issue Dec 14, 2024 · 0 comments

Comments

@20Mhz
Copy link

20Mhz commented Dec 14, 2024

Failing due to missing dependency

ronaldv@MBP-de-Ronald LLM-Engineers-Handbook % poetry env use 3.11
Using virtualenv: /Users/ronaldv/Library/Caches/pypoetry/virtualenvs/llm-engineering-QmmB4sbR-py3.11
ronaldv@MBP-de-Ronald LLM-Engineers-Handbook % poetry install --without aws
Installing dependencies from lock file

Package operations: 18 installs, 0 updates, 0 removals

  - Installing torch (2.4.0): Failed

  RuntimeError

  Unable to find installation candidates for torch (2.4.0)

  at ~/Library/Application Support/pypoetry/venv/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 torch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant