Dje*_*ent 2 mysql python-3.x centos7
我需要mysqlclient通过在CentOS服务器上为python3.6 安装模块pip。
安装因以下错误而中断:OSError: mysql_config not found。
我找到了一种解决方案,可以安装mysql-devel软件包,但不幸的是,它因以下错误而中断:
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
Run Code Online (Sandbox Code Playgroud)
我无法删除mysql-community软件包,因为服务器正在基于该数据库运行MySQL数据库。
有什么方法可以解决此问题而又不会删除有冲突的数据包?