psycopg2.ProgrammingError: column cons.consrc does not exist
I got the same error after upgrading to Postgres v12.
I did:
pip install --upgrade sqlalchemy
and upgrade any other dependency packages working together with sqlalchemy, for example, pip install --upgrade vdm
Hope this helps