Traceback (most recent call last):
File "/Users/pisces/Documents/python application/binlog2sql/binlog2sql/binlog2sql.py", line 7, in
from pymysqlreplication import BinLogStreamReader
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pymysqlreplication/init.py", line 23, in
from .binlogstream import BinLogStreamReader
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pymysqlreplication/binlogstream.py", line 8, in
from pymysql.util import int2byte
ModuleNotFoundError: No module named 'pymysql.util'
✗ python binlog2sql.py -h 127.0.0.1 -u root --flashback -d sirius -t t --start-file='binlog.000015' --start-pos=1238826 > ~/Desktop/flashback.sql
Traceback (most recent call last): File "/Users/pisces/Documents/python application/binlog2sql/binlog2sql/binlog2sql.py", line 7, in
from pymysqlreplication import BinLogStreamReader
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pymysqlreplication/init.py", line 23, in
from .binlogstream import BinLogStreamReader
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pymysqlreplication/binlogstream.py", line 8, in
from pymysql.util import int2byte
ModuleNotFoundError: No module named 'pymysql.util'