包找不到 我的mac自带了一个2.7的系统路径python,我自己安装了一个3.9 执行的时候出现了这个问题
✗ 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
用Python 3.8吧,3.8没问题
可以用 pip3 install pymysql