直接使用pip命令安装mysqlclient : pip3 install mysqlclient 转载于:https://www.cnblogs.com/little-kwy/p/9418821.html