Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLDatabase, SQLDatabaseChain Library Conflicts #14

Open
nalipanah-CLGX opened this issue Nov 21, 2023 · 0 comments
Open

SQLDatabase, SQLDatabaseChain Library Conflicts #14

nalipanah-CLGX opened this issue Nov 21, 2023 · 0 comments

Comments

@nalipanah-CLGX
Copy link

I had library conflict to connect to biqquery database and run any sql command with python 3.9 and langChain. I needed to install langchain-experimental.
I ended up to import the libraries as follows:

from langchain.utilities.sql_database import SQLDatabase
from langchain_experimental.sql import SQLDatabaseChain

Below is the list of the dependencies attached.

requirement.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant