之前系统已经安装了:mariadb、mariadb-devel、mariadb-libs,但使用pip安装mysqlclient的时候提示“/usr/bin/ld: cannot find -lmariadb”,解决办法再装一个包就好了:
yum install MariaDB-shared