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

Failed to Install Packages when add the poetry env #13

Open
okemeno opened this issue May 9, 2024 · 0 comments
Open

Failed to Install Packages when add the poetry env #13

okemeno opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@okemeno
Copy link

okemeno commented May 9, 2024

When I clone this repo and try to install requirement, I got the error message blow:

Updating dependencies
Resolving dependencies...

Package operations: 1 install, 0 updates, 0 removals
  - Installing torch (2.0.1)

  RuntimeError

  Unable to find installation candidates for torch (2.0.1)

  at /usr/local/Caskroom/miniconda/base/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.

My Environment:
MacOS 12.7.4
PyCharm

@okemeno okemeno added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant