首页 > 解决方案 > 包 'mysql-community-client-plugins' 没有安装候选

问题描述

我正在尝试mysqlclient使用 pip 安装并获得红色文本,说没有 config.h 文件。我开始修复它并坚持libmysqlcppconn-dev在 Ubuntu 20 上安装。终端说

The following packages have unmet dependencies:
 libmysqlcppconn-dev : Depends: libmysqlcppconn8-2 (= 8.0.27-1ubuntu18.04) but it is not going to be installed

尝试后sudo apt install -f libmysqlcppconn8-2我看到了

The following packages have unmet dependencies:
 libmysqlcppconn8-2 : Depends: mysql-community-client-plugins but it is not installable

我该如何解决?谢谢大家。

标签: pythonmysqlubuntu

解决方案


推荐阅读