我正在尝试安装mysqclient,但在使用python3.7.0在ubuntu18.04 lts中尝试“apt get install libmariadbclient dev”时出错。
我怎样才能做到这一点?谢谢。
sudo apt-get install libmariadbclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libmariadbclient-dev : Depends: libmariadbclient18 (= 1:10.1.29-6) but 1:10.3.7+maria~bionic is to be installed
E: Unable to correct problems, you have held broken packages.
1条答案
按热度按时间3wabscal1#
安装旧版本,可以:
更新07/12/2018:今天,我安装了mariadb 10.3.8,如下所示(在一个干净的系统中),安装了libmariadbclient18,没有任何抱怨:
我不知道安装libmariaddv和libmariadv dev compat是否有帮助。