I\'m writing a pandas Dataframe to a Postgres database:
from sqlalchemy import create_engine, MetaData engine = create_engine(r\'postgresql://user:password@local
I have encountered this error recently and it was solved my removing the .pyc files located in the same directory as .py files. These files (.pyc) holds the previous version information and time, date.