Issue
I need to install mysqlclient
module for python3.6 on my CentOS server via pip
.
The instalation breaks with following error: OSError: mysql_config not found
.
I've found a solution, to install mysql-devel
package, but unfortunately it breaks with following error:
Error: mariadb101u-config conflicts with mysql-community-server-8.0.4-0.1.rc.el7.x86_64
Error: mariadb101u-libs conflicts with mysql-community-libs-8.0.4-0.1.rc.el7.x86_64
Error: mariadb101u-libs conflicts with mysql-community-libs-compat-8.0.4-0.1.rc.el7.x86_64
Error: mariadb101u-common conflicts with mysql-community-common-8.0.4-0.1.rc.el7.x86_64
I cannot remove the mysql-community packages, because the server is running MySQL database based on that.
Is there any way to fix it without removing conflicting packets?
Solution
Ok, found an answer:
yum install mariadb-devel gcc python36u-devel
Answered By - Djent Answer Checked By - Willingham (WPSolving Volunteer)