Open b9Joker108 opened 8 months ago
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?
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...
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
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
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
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.
(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 :)
Thanks, I had the same issue.but this seems to have worked so far
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 "modelid" 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 "modelname" 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 "modelinfo" 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.
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
I even tried to install OI in a Python Virtual Environment and even that didn't help:
I only had it working with 0.2.0
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"...
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. ’’’