需要安装 pip2.7 install MySQL-python pip2.7 install mysql-connector 转载于:https://www.cnblogs.com/gaoyuechen/p/9156033.html