thepycoder / asteroid_example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqlalchemy.exc.ObjectNotExecutableError: Not an executable object:

imSrbh opened this issue · comments

While running this
asteroid_example$ python3 get_data.py

sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT * FROM asteroids WHERE strftime("%Y-%m-%d", date) <= strftime("%Y-%m-%d", "2022-01-01")'

@thepycoder @besrym

nvm Resolved:
using pip install SQLAlchemy==1.4.39
earlier it was SQLAlchemy==2.0.0