I read a lot of similar questions but none of the clearly answer my issue. I’m using sqlalchemy-utils EncryptedType on a mysql table column. The table creation and the insert is ok, but when I’m trying to do a query a receive: I found out that this error occurs only using python 3, not using python 2. And also that