有时候导入Python模块包:mysql-replicaition的时候会遇到如题所示的错误,具体如下:

关于该报错的原因:
mysql-replication模块依赖PyMySQL模块,并且在PyMySQL模块1.0.0之后,移除了【pymysql.util】

关于这个报错,在官方的GITHUB上也有说明:
https://github.com/noplay/python-mysql-replication/pull/337

解决方法:
将PyMySQL降低到1.0.0以下即可。


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装