01
01 copied to clipboard
01os installation:
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:
- 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 "
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.
I have the same issue as this, just now. Can anybody assist on this? OS : Mac Sonoma 14.5 Python : 3.10
Try pip install typer
I have the same issue with : OS: Mac Sonoma 14.4 Python: 3.12.2 When I run poetry add torch or torchvision, it fails:
- Installing torch (2.3.1): Failed
RuntimeError
Unable to find installation candidates for torch (2.3.1)
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.
I'm also having this problem with Mac OS Sonoma 14.5, Mac Mini 2018. Perhaps an issue with Intel CPUs?
Apologies if I'm putting this here in error. Looks like this user is getting two errors that may or may not be related. If I need to open my own issue, someone feel free to let me know.
I'm getting the typer error in Windows 10 (though not the torch error). If I run poetry show --tree I see that typer is a dependency of fastapi-cli which is a dependency of fastapi which is a dependency of open-interpreter, as well as being listed in a couple other places. When I run just poetry show it says typer is already installed. So not sure how to go forward here.
are there any updates on this? i am having the same issue on macbook pro (2021) with m1 pro chip
Just a reminder that Open Interpreter requires Python 3.10 or 3.11. There are multiple posts in this thread with invalid versions of Python.
If you're using the correct version of Python, please include more information about your setup to help with debugging
Hello, The solution for me was to change to torch==2.2.2 otherwise it wouldn't work.
Good luck ! Sonia
Le mar. 20 août 2024 à 17:56, Mike Bird @.***> a écrit :
Just a reminder that Open Interpreter requires Python 3.10 or 3.11. There are multiple posts in this thread with invalid versions of Python.
If you're using the correct version of Python, please include more information about your setup to help with debugging
— Reply to this email directly, view it on GitHub https://github.com/OpenInterpreter/01/issues/278#issuecomment-2299196139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANFZ6OAIH3WPNGHC2SC7OX3ZSNRJ7AVCNFSM6AAAAABIHJMPC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGE4TMMJTHE . You are receiving this because you commented.Message ID: @.***>