OpenInterpreter / 01

The open-source language model computer
http://openinterpreter.com/01
GNU Affero General Public License v3.0
4.75k stars 468 forks source link

01os installation: #278

Open ngoiyaeric opened 1 month ago

ngoiyaeric commented 1 month ago

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):

Additional context Add any other context about the problem here.

alam234 commented 1 month ago

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

0xrushi commented 1 month ago

Try pip install typer