Cannot import SQLDatabaseChain #29028
Replies: 4 comments 1 reply
-
@ChibuikeOnuba Hello there! I'm here to help you with any bugs, questions, or contributions. Let's get to the bottom of this together. To import the from langchain_experimental.sql import SQLDatabaseChain Make sure you have the correct version of LangChain and its dependencies installed. You can install the necessary packages with: pip install --upgrade langchain-community langchainhub langgraph Additionally, ensure that your environment is set up correctly, including any necessary environment variables and database setup [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
my database is correctly setup
|
Beta Was this translation helpful? Give feedback.
-
Got this again
|
Beta Was this translation helpful? Give feedback.
-
fixed it
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use the SQLDatabaseChain module. I have tried importing from from
langchain_experimental.sql
and fromlangchain_community.utilities
but none seems to be working.I have also upgraded my langchain to version 0.3.14
it is still not working
Beta Was this translation helpful? Give feedback.
All reactions