-
Notifications
You must be signed in to change notification settings - Fork 35
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
"'Database' object has no attribute 'get_connection'" errors #1
Comments
Hi, Thanks for your question! Thanks! |
I saw similar things in eguilg/nl2sql#1 when I first met that problem months before, so I record that in our README.md and fix that, you can see this instruction here https://github.com/HKUNLP/Binder#dependencies |
|
Sorry, my mistake, I forgot to run Thanks again for your patience! |
Thank you for asking! |
Hi, when I run the "wikitq nsql annotation command" with following commands,
(I didn't run
run.py
directly, because it reports an error:python: can't open file '/scripts/annotate_binder_program.py': [Errno 2] No such file or directory
)the console outputs the following message:
I located the code that threw the error:
self.records_conn = self.db.get_connection()
at line 100, nsql/database.pyI haven't completed the test yet, but I'm wondering if this whole bunch of
'Database' object has no attribute 'get_connection'
errors is normal? How should I fix it?The text was updated successfully, but these errors were encountered: