RuntimeError: Your system has an unsupported version of sqlite3
Describe the bug
I am getting the following error when running the following command: uvicorn opendevin.server.listen:app --port 3000 I am using a Debian running under WSL2. I have updated the sqlite version to : sqlite3 --version 3.45.2 2024-03-12 11:06:23 d8cd6d49b46a395b13955387d05e9e1a2a47e54fb99f3c9b59835bbefad6af77 (64-bit) But the issue still persists.
Error:
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/home/ismail/OpenDevin/opendevin/server/listen.py", line 4, in <module> import agenthub # noqa F401 (we import this to get the agents registered) ^^^^^^^^^^^^^^^ File "/home/ismail/OpenDevin/agenthub/__init__.py", line 5, in <module> from . import langchains_agent # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ismail/OpenDevin/agenthub/langchains_agent/__init__.py", line 2, in <module> from .langchains_agent import LangchainsAgent File "/home/ismail/OpenDevin/agenthub/langchains_agent/langchains_agent.py", line 8, in <module> from agenthub.langchains_agent.utils.memory import LongTermMemory File "/home/ismail/OpenDevin/agenthub/langchains_agent/utils/memory.py", line 1, in <module> import chromadb File "/home/ismail/.local/share/virtualenvs/OpenDevin-qOp4XYtZ/lib/python3.11/site-packages/chromadb/__init__.py", line 79, in <module> raise RuntimeError( RuntimeError: Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0. Please visit https://docs.trychroma.com/troubleshooting#sqlite to learn how to upgrade.
Is python version lower than 3.11? This may help https://github.com/OpenDevin/OpenDevin/issues/375
Made 3.11 an official requirement: https://github.com/OpenDevin/OpenDevin/pull/451