Replies: 1 comment 3 replies
-
To resolve the "unsupported version of sqlite3" error when using Chroma as a vector database in LangChain, follow these steps:
By following these steps, you should be able to resolve the "unsupported version of sqlite3" error and successfully use Chroma as your vector database in LangChain [1][2]. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
"I am currently working on a Proof of Concept (POC) and require Chroma as my vector database. However, despite upgrading to the latest version, I am encountering an issue that I have not been able to resolve. I have reviewed the LangChain documentation, but it lacks the necessary details to address this problem. The error I am receiving is as follows:
"81 """Initialize with a Chroma client."""
82 try:
---> 83 import chromadb
84 import chromadb.config
85 except ImportError:
File ~/.local/lib/python3.11/site-packages/chromadb/init.py:86
84 sys.modules["sqlite3"] = sys.modules.pop("pysqlite3")
85 else:
---> 86 raise RuntimeError(
87 "\033[91mYour system has an unsupported version of sqlite3. Chroma
88 requires sqlite3 >= 3.35.0.\033[0m\n"
89 "\033[94mPlease visit
90 https://docs.trychroma.com/troubleshooting#sqlite to learn how
91 to upgrade.\033[0m"
92 )
95 def configure(**kwargs) -> None: # type: ignore
96 """Override Chroma's default settings, environment variables or .env files"""
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."
System Info
langchain==0.2.15
langchain-chroma==0.1.3
langchain-community==0.2.14
langchain-core==0.2.36
langchain-openai==0.1.22
langchain-text-splitters==0.2.2
Windows/ Linux
python 3
Beta Was this translation helpful? Give feedback.
All reactions