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

01os installation: #278

Open
ngoiyaeric opened this issue May 24, 2024 · 2 comments
Open

01os installation: #278

ngoiyaeric opened this issue May 24, 2024 · 2 comments

Comments

@ngoiyaeric
Copy link

Describe the bug
Cannot install:
running poetry install says it cannot install torch 2.3.0
torch 2.2.2 is already installed

To Reproduce
Steps to reproduce the behavior:

  1. python 3.9 - 3.12
  • Installing torch (2.3.0): Failed

RuntimeError

Unable to find installation candidates for torch (2.3.0)

at ~/.pyenv/versions/3.9.18/lib/python3.9/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.

Expected behavior
Running poetry run 01

Traceback (most recent call last):
File "", line 1, in
File "/Users/karibu/.pyenv/versions/3.9.18/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/karibu/Desktop/01-main/software/start.py", line 1, in
import typer
ModuleNotFoundError: No module named 'typer'
Screenshots
Screen Shot 2024-05-24 at 1 16 36 PM

Desktop (please complete the following information):

  • OS: [mac OS: Monterey]
  • Python Version [e.g. 22]

Additional context
Add any other context about the problem here.

@ngoiyaeric ngoiyaeric changed the title 01 installation: 01os installation: May 24, 2024
@alam234
Copy link

alam234 commented May 28, 2024

I have the same issue as this, just now. Can anybody assist on this?
OS : Mac Sonoma 14.5
Python : 3.10

@0xrushi
Copy link

0xrushi commented Jun 1, 2024

Try pip install typer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants