AttributeError: module 'sqlalchemy' has no attribute 'Binary'

Viewed 2205

I am getting error AttributeError: module 'sqlalchemy' has no attribute 'Binary' when trying to use SQLAlchemy library in Python.

1 Answers

sqlalchemy.Binary was renamed to sqlalchemy.LargeBinary and deprecated in 0.6 and finally removed in version 1.4. Use library version < 1.4 or upgrade the codebase.

Related