我在本地安装了mysql-server(5.7.21)。然后我尝试安装mysqlclient,但收到错误"mysql_config: not found"
。我发现我应该安装libmysqlclient-dev
。我跑sudo apt-get install libmysqlclient-dev
并收到新错误:
The following packages have unmet dependencies:
libmysqlclient-dev : Depends: libmysqlclient20 (= 5.7.21-0ubuntu0.16.04.1) but 5.7.21-1ubuntu16.04 is to be installed
如何解决这种依赖性冲突?