Command 'pkg-config --exists mariadb' returned non-zero exit status 127. Traceback (most recent call last):
时间: 2024-04-24 08:26:53 浏览: 177
回答: 这个问题是由于缺少`pkg-config`软件包引起的。你可以通过运行以下命令来安装它:`sudo apt-get install pkg-config`。\[3\]安装完成后,再次运行你的命令应该就不会出现这个错误了。
#### 引用[.reference_title]
- *1* *2* [MacOs 安装mysqlclient报错-解决方法](https://blog.csdn.net/Mr_wulongyu/article/details/125737999)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [一次安装Python插件mysqlclient受到的启发](https://blog.csdn.net/JarryLms/article/details/131526791)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文