rpm -e [mariadb数据库可通过 rpm -qa | grep mariadb查看你] --nodeps yum install mysql-devel pip3 install mysqlclient