先安装依赖:
yum install mysql-devel
再安装:
pip3 install mysqlclient
centos7 安装 mysqlclient 报错
原文:https://www.cnblogs.com/taotao0805/p/13546171.html