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

Problems after upgrade from 0.2.0 to 0.2.2 #11

Open
b9Joker108 opened this issue Mar 15, 2024 · 12 comments
Open

Problems after upgrade from 0.2.0 to 0.2.2 #11

b9Joker108 opened this issue Mar 15, 2024 · 12 comments

Comments

@b9Joker108
Copy link

Open Interpreter broken in Termux after upgrade:

’’’zsh
❯ i
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/i", line 5, in
from interpreter.terminal_interface.start_terminal_interface import main
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/interpreter/terminal_interface/start_terminal_interface.py", line 9, in
from .profiles.profiles import open_profile_dir, profile, reset_profile
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/interpreter/terminal_interface/profiles/profiles.py", line 13, in
import send2trash
ModuleNotFoundError: No module named 'send2trash'
❯ interpreter --version
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/interpreter", line 5, in
from interpreter.terminal_interface.start_terminal_interface import main
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/interpreter/terminal_interface/start_terminal_interface.py", line 9, in
from .profiles.profiles import open_profile_dir, profile, reset_profile
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/interpreter/terminal_interface/profiles/profiles.py", line 13, in
import send2trash
ModuleNotFoundError: No module named 'send2trash'
❯ pip install --upgrade open-interpreter --no-cache-dir --no-deps
Requirement already satisfied: open-interpreter in /data/data/com.termux/files/usr/lib/python3.11/site-packages (0.2.2)
❯ pip install --upgrade open-interpreter
Requirement already satisfied: open-interpreter in /data/data/com.termux/files/usr/lib/python3.11/site-packages (0.2.2)
Collecting aifs<0.0.10,>=0.0.9 (from open-interpreter)
Using cached aifs-0.0.9-py3-none-any.whl.metadata (3.2 kB)
Requirement already satisfied: astor<0.9.0,>=0.8.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (0.8.1)
Requirement already satisfied: fastapi<0.111.0,>=0.110.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (0.110.0)
Requirement already satisfied: git-python<2.0.0,>=1.0.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (1.0.3)
Requirement already satisfied: html2image<3.0.0.0,>=2.0.4.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (2.0.4.3)
Requirement already satisfied: inquirer<4.0.0,>=3.1.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (3.2.1)
Requirement already satisfied: ipykernel<7.0.0,>=6.26.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (6.28.0)
Requirement already satisfied: jupyter-client<9.0.0,>=8.6.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (8.6.0)
Requirement already satisfied: litellm<2.0.0,>=1.18.4 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (1.23.5)
Requirement already satisfied: matplotlib<4.0.0,>=3.8.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (3.8.3)
Collecting nltk<4.0.0,>=3.8.1 (from open-interpreter)
Using cached nltk-3.8.1-py3-none-any.whl.metadata (2.8 kB)
Collecting platformdirs<5.0.0,>=4.2.0 (from open-interpreter)
Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: posthog<4.0.0,>=3.1.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (3.3.1)
Requirement already satisfied: prompt-toolkit<4.0.0,>=3.0.43 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (3.0.43)
Requirement already satisfied: psutil<6.0.0,>=5.9.6 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (5.9.7)
Requirement already satisfied: pyyaml<7.0.0,>=6.0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (6.0.1)
Requirement already satisfied: rich<14.0.0,>=13.4.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (13.7.0)
Collecting send2trash<2.0.0,>=1.8.2 (from open-interpreter)
Using cached Send2Trash-1.8.2-py3-none-any.whl.metadata (4.0 kB)
Requirement already satisfied: six<2.0.0,>=1.16.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (1.16.0)
Collecting tiktoken<0.6.0,>=0.5.2 (from open-interpreter)
Using cached tiktoken-0.5.2-cp311-cp311-linux_aarch64.whl
Requirement already satisfied: tokentrim<0.2.0,>=0.1.13 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (0.1.13)
Requirement already satisfied: toml<0.11.0,>=0.10.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (0.10.2)
Requirement already satisfied: uvicorn<0.28.0,>=0.27.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (0.27.1)
Requirement already satisfied: wget<4.0,>=3.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from open-interpreter) (3.2)
Collecting chromadb<0.5.0,>=0.4.22 (from aifs<0.0.10,>=0.0.9->open-interpreter)
Using cached chromadb-0.4.24-py3-none-any.whl.metadata (7.3 kB)
Collecting unstructured<0.13.0,>=0.12.0 (from aifs<0.0.10,>=0.0.9->open-interpreter)
Using cached unstructured-0.12.6-py3-none-any.whl.metadata (83 kB)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from fastapi<0.111.0,>=0.110.0->open-interpreter) (2.5.3)
Requirement already satisfied: starlette<0.37.0,>=0.36.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from fastapi<0.111.0,>=0.110.0->open-interpreter) (0.36.3)
Requirement already satisfied: typing-extensions>=4.8.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from fastapi<0.111.0,>=0.110.0->open-interpreter) (4.9.0)
Requirement already satisfied: gitpython in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from git-python<2.0.0,>=1.0.3->open-interpreter) (3.1.41)
Requirement already satisfied: requests in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from html2image<3.0.0.0,>=2.0.4.3->open-interpreter) (2.31.0)
Requirement already satisfied: websocket-client<2.0.0,>=1.0.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from html2image<3.0.0.0,>=2.0.4.3->open-interpreter) (1.7.0)
Requirement already satisfied: blessed>=1.19.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from inquirer<4.0.0,>=3.1.3->open-interpreter) (1.20.0)
Requirement already satisfied: editor>=1.6.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from inquirer<4.0.0,>=3.1.3->open-interpreter) (1.6.5)
Requirement already satisfied: readchar>=3.0.6 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from inquirer<4.0.0,>=3.1.3->open-interpreter) (4.0.5)
Requirement already satisfied: comm>=0.1.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (0.2.1)
Requirement already satisfied: debugpy>=1.6.5 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (1.8.0)
Requirement already satisfied: ipython>=7.23.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (8.20.0)
Requirement already satisfied: jupyter-core!=5.0.*,>=4.12 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (5.7.1)
Requirement already satisfied: matplotlib-inline>=0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (0.1.6)
Requirement already satisfied: nest-asyncio in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (1.5.8)
Requirement already satisfied: packaging in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (23.2)
Requirement already satisfied: pyzmq>=24 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (25.1.2)
Requirement already satisfied: tornado>=6.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (6.4)
Requirement already satisfied: traitlets>=5.4.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipykernel<7.0.0,>=6.26.0->open-interpreter) (5.14.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from jupyter-client<9.0.0,>=8.6.0->open-interpreter) (2.8.2)
Requirement already satisfied: aiohttp in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from litellm<2.0.0,>=1.18.4->open-interpreter) (3.9.1)
Requirement already satisfied: click in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from litellm<2.0.0,>=1.18.4->open-interpreter) (8.1.7)
Requirement already satisfied: importlib-metadata>=6.8.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from litellm<2.0.0,>=1.18.4->open-interpreter) (7.0.1)
Requirement already satisfied: jinja2<4.0.0,>=3.1.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from litellm<2.0.0,>=1.18.4->open-interpreter) (3.1.3)
Requirement already satisfied: openai>=1.0.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from litellm<2.0.0,>=1.18.4->open-interpreter) (1.7.1)
Requirement already satisfied: python-dotenv>=0.2.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from litellm<2.0.0,>=1.18.4->open-interpreter) (1.0.0)
Requirement already satisfied: tokenizers in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from litellm<2.0.0,>=1.18.4->open-interpreter) (0.15.0)
Requirement already satisfied: contourpy>=1.0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter) (1.2.0)
Requirement already satisfied: cycler>=0.10 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter) (4.47.2)
Requirement already satisfied: kiwisolver>=1.3.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter) (1.4.5)
Requirement already satisfied: numpy<2,>=1.21 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter) (1.26.4)
Requirement already satisfied: pillow>=8 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter) (10.2.0)
Requirement already satisfied: pyparsing>=2.3.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib<4.0.0,>=3.8.2->open-interpreter) (3.0.9)
Collecting joblib (from nltk<4.0.0,>=3.8.1->open-interpreter)
Using cached joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB)
Requirement already satisfied: regex>=2021.8.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from nltk<4.0.0,>=3.8.1->open-interpreter) (2023.12.25)
Requirement already satisfied: tqdm in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from nltk<4.0.0,>=3.8.1->open-interpreter) (4.66.1)
Requirement already satisfied: monotonic>=1.5 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from posthog<4.0.0,>=3.1.0->open-interpreter) (1.6)
Requirement already satisfied: backoff>=1.10.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from posthog<4.0.0,>=3.1.0->open-interpreter) (2.2.1)
Requirement already satisfied: wcwidth in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from prompt-toolkit<4.0.0,>=3.0.43->open-interpreter) (0.2.12)
Requirement already satisfied: markdown-it-py>=2.2.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from rich<14.0.0,>=13.4.2->open-interpreter) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from rich<14.0.0,>=13.4.2->open-interpreter) (2.17.2)
Requirement already satisfied: h11>=0.8 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from uvicorn<0.28.0,>=0.27.0->open-interpreter) (0.14.0)
Requirement already satisfied: build>=1.0.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from chromadb<0.5.0,>=0.4.22->aifs<0.0.10,>=0.0.9->open-interpreter) (1.0.3)
Collecting chroma-hnswlib==0.7.3 (from chromadb<0.5.0,>=0.4.22->aifs<0.0.10,>=0.0.9->open-interpreter)
Using cached chroma-hnswlib-0.7.3.tar.gz (31 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [65 lines of output]
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/core/init.py", line 24, in
from . import multiarray
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in
from . import overrides
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/core/overrides.py", line 8, in
from numpy.core._multiarray_umath import (
ImportError: dlopen failed: cannot locate symbol "PyExc_ValueError" referenced by "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so"...

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/__init__.py", line 130, in <module>
      from numpy.__config__ import show as show_config
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/__config__.py", line 4, in <module>
      from numpy.core._multiarray_umath import (
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/core/__init__.py", line 50, in <module>
      raise ImportError(msg)
  ImportError:

  IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

  Importing the numpy C-extensions failed. This error can happen for
  many reasons, often due to issues with your setup or how NumPy was
  installed.

  We have compiled some common reasons and troubleshooting tips at:

      https://numpy.org/devdocs/user/troubleshooting-importerror.html

  Please note and check the following:

    * The Python version is: Python3.11 from "/data/data/com.termux/files/usr/bin/python3.11"
    * The NumPy version is: "1.26.4"

  and make sure that they are the versions you expect.
  Please carefully study the documentation linked above for further help.

  Original error was: dlopen failed: cannot locate symbol "PyExc_ValueError" referenced by "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so"...


  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 5, in <module>
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-5l9uibmd/overlay/lib/python3.11/site-packages/numpy/__init__.py", line 135, in <module>
      raise ImportError(msg) from e
  ImportError: Error importing numpy: you should not try to import numpy from
          its source directory; please exit the numpy source tree, and relaunch
          your python interpreter from there.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
’’’

@MikeBirdTech
Copy link
Owner

Thanks for raising this @b9Joker108! Too bad that we're back to dealing with dependency issues. Have you had the chance to try any fixes?

@b9Joker108
Copy link
Author

b9Joker108 commented Mar 17, 2024

I am sorry, I don't know what to do, or how to manage it. After issues, all I managed to do, was install the new version successfully without dependencies, and am unsure how to individually, manually install dependencies.

On reflection, theoretically, I think the only way to progress this is to completely uninstall OI. Then create a Python Virtual Environment, and install OT. But, I haven't done this before...

@MikeBirdTech
Copy link
Owner

All good! I appreciate you bringing this to my attention. We've been so busy with the 01 project that I haven't tested termux with the new OI releases

@Badashphilosophy
Copy link

I got approximately the same message. As well as one that stops me from installing patchelf pkg. I have 0 coding experience so am hoping to find that someone has solved these problems for me as i dont understand a thing lol

@b9Joker108
Copy link
Author

All good! I appreciate you bringing this to my attention. We've been so busy with the 01 project that I haven't tested termux with the new OI releases

Mike

Look, I am patient. I have a few other digital spotfires to put out at the moment. I am integrating two dotfiles management frameworks and ecosystems, at present, in my host Termux environment. That, and researching and writing the book on shell scripting, is keeping me busy. I don't really need OT right at the moment, I just use it periodically, and work its answers to my shell, system and coding questions, into my book.

I would just appreciate your help resolving the OT issues, when you have the time, and wish to do it.

Oh, by the way, I noticed OT was off-the-air on X/Twitter, for a bit. But, I see the OT X account, is visible again, which is good.

Thanks for your code.

Cheers
Beauford

@b9Joker108
Copy link
Author

I got approximately the same message. As well as one that stops me from installing patchelf pkg. I have 0 coding experience so am hoping to find that someone has solved these problems for me as i dont understand a thing lol

Just keep at it. There are always new problems. And, there are always new solutions. It is a constant dance. Just be patient, the issue will resolve in time, when Mike, gets around to it. Mike, is just busy, with the main non-Termux Open Interpreter gig.

@Badashphilosophy
Copy link

Badashphilosophy commented Mar 25, 2024

(Edit) i deleted this message because i got open interpreter installed without touching numpy. It turns out, like you mentioned we just have to stick with open interpreter 0.2.0 and not upgrade it at this time.

We can use 0.2.0 by typing this for anyone that doesnt know how

pip install open_interpreter==0.2.0

Could someone let me know when --os is supported on android incase i miss it when it happens. Thanks :)

@Minocrisy
Copy link

Thanks, I had the same issue.but this seems to have worked so far

@Minocrisy
Copy link

I have it loaded with a config error, is this going to be a problem. I am not sure what to do.
Pretty sure I uninstalled the original pkg

~ $ interpreter
/data/data/com.termux/files/usr/lib/python3.11/site-packages/pydantic/_internal/fields.py:151: UserWarning: Field "model_id" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
/data/data/com.termux/files/usr/lib/python3.11/site-packages/pydantic/_internal/fields.py:151: UserWarning: Field "model_name" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
/data/data/com.termux/files/usr/lib/python3.11/site-packages/pydantic/_internal/fields.py:151: UserWarning: Field "model_info" has conflict with protected namespace "model".

You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(

▌ A new version of Open Interpreter is available.

▌ Please run: pip install --upgrade open-interpreter

──────────────────────────────────────────────────────────────────────────────────────────────────────────

▌ Model set to gpt-4

Open Interpreter will require approval before running code.

Use interpreter -y to bypass this.

Press CTRL-C to exit.

@Badashphilosophy
Copy link

Badashphilosophy commented Apr 17, 2024

Its been a while, havnt been able to find any fixes anywhere else either.

I did have the idea though as a non-coder that if we could get oi installed we could then maybe use it to create a new environment and build and debug interpreter from scratch itself to get it to an --os version, and just share what it did. It might not be good enough to do that but might be worth a try

@b9Joker108
Copy link
Author

I even tried to install OI in a Python Virtual Environment and even that didn't help:

https://docs.python.org/3.11/library/venv.html

@Minocrisy
Copy link

I only had it working with 0.2.0

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

4 participants