mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-05 09:25:14 +03:00
fix(langchain-classic): correct sqlite3 install guidance in SQLiteEntityStore error message (#40248)
This commit is contained in:
1 parent
89baaec5fe
commit
872910ae43
1 file changed
+6
-1
@@ -389,7 +389,12 @@ class SQLiteEntityStore(BaseEntityStore):
|
||||
except ImportError as e:
|
||||
msg = (
|
||||
"Could not import sqlite3 python package. "
|
||||
"Please install it with `pip install sqlite3`."
|
||||
"sqlite3 is part of the Python standard library, not a package "
|
||||
"installable via pip. If it is missing, your Python installation "
|
||||
"was likely built without SQLite support — check your Python or "
|
||||
"operating system distributor's instructions for enabling the "
|
||||
"sqlite3 extension (e.g., recompiling Python with SQLite support, "
|
||||
"or installing your OS's sqlite3/libsqlite3 development package)."
|
||||
)
|
||||
raise ImportError(msg) from e
|
||||
|
||||
|
||||
Reference in new issue
Block a user