AttributeError: 'Connection' object has no attribute 'cursor' #45
Replies: 6 comments 4 replies
-
Can also confirm that I was getting this same "'Connection' object has no attribute 'cursor'" error in my normal Python environment with a Pandas version of For reference, this setup seems to give me a working
|
Beta Was this translation helpful? Give feedback.
-
@lukestein I'm not an Anaconda user, but I'm pretty sure you should only install @goulashsoup When you get a chance, could you please include a full stack trace so we can see the source of the error? Thank you! |
Beta Was this translation helpful? Give feedback.
-
@lukestein That's interesting, it appears that it is trying to use the SQLite driver instead of PostgreSQL. ( I'm hoping to release a new version of the package after some more testing tomorrow. The new version (which is committed to the main branch) supports SQLAlchemy 2.0 and pandas 2.2. |
Beta Was this translation helpful? Give feedback.
-
Hey folks! I've got a version that can be tested now. On Linux or Mac:
On Windows:
This installs from GitHub for testing before I publish to PyPI. Let me know if this works, and thanks again for helping sleuth this out, @lukestein and @goulashsoup. |
Beta Was this translation helpful? Give feedback.
-
@lukestein Fantastic, I'll press a release now. Thank you! |
Beta Was this translation helpful? Give feedback.
-
@lukestein @goulashsoup Give it a try - released as |
Beta Was this translation helpful? Give feedback.
-
If you get this error check the
pandas
version installed, mine was2.2.0
, with1.4.3
it worked.Unfortunately, the package does not restrict
pandas
to < 2.@FlipperPA Pls fix that.
Beta Was this translation helpful? Give feedback.
All reactions