先安装mysql-devel [root@Salve2 WebSite]# yum install mysql-devel 再次安装mysqlclient [root@Salve2 WebSite]# pip3 install mysqlclient