-
Notifications
You must be signed in to change notification settings - Fork 185
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
'str' object has no attribute '_execute_on_connection' #102
Comments
I experienced this too! (python 3.9) As a temporary fix, I downgraded |
Thanks for your help; that restores functionality. Does this problem eventually get solved with a patch of pandasql? |
That's my assumption. Depends on the authors of the project. |
There hasn't been a commit since 2017 so what's the likelihood of that? |
Unfortunately, I'd say bleak. unless there is a PR from a non contributor. |
There's PR #100 from contributor minikill so hopefully there's someone here to merge it. |
That PR doesn't actually fix the issue it just forces use of 1.x |
If you want to use |
A few days ago I started getting these error messages when trying to run sqldf :
AttributeError: 'str' object has no attribute '_execute_on_connection'
sqlalchemy.exc.ObjectNotExecutableError: Not an executable object
The error message prints out the query string I'm trying to use. It doesn't want to execute the query because it's a string, but that's how I've been using sqldf now for over a year.
There's nothing wrong with the query itself. And I didn't change any code as far as I know, so I'm not sure why this broke.
I tried upgrading some packages and that didn't help. Versions installed:
The text was updated successfully, but these errors were encountered: