sqlalchemy报错Please use '@@transaction_isolation' instead")

使用sqlalchemy

报错

1287, "'@@tx_isolation' is deprecated and will be removed in a future release. 
Please use '@@transaction_isolation' instead")   result = self._query(query)

查看我已安装的版本

pip install sqlalchemy==1.1.14

解决办法

卸载旧版本,安装新版本

pip uninstall sqlalchemy
pip install sqlalchemy

猜你喜欢

转载自blog.csdn.net/mouday/article/details/80732840