error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [69 lines of output] IMPORTANT WARNING: pkg-config is not installed. matplotlib may not be able to find some of its dependencies ============================================================================ Edit setup.cfg to change the build options
时间: 2023-08-07 18:04:21 浏览: 79
Weditor包,安装weditor失败,subprocess-exited-with-error
这个错误提示显示在运行`python setup.py egg_info`时出现了问题。同时,提示信息中还显示了`pkg-config is not installed`的警告,这意味着matplotlib可能无法找到它的一些依赖项。
建议你先尝试安装`pkg-config`:
```
sudo apt-get update
sudo apt-get install pkg-config
```
然后再尝试运行你的命令。如果还是无法运行,你可以尝试编辑`setup.cfg`文件,更改构建选项。或者,你也可以尝试使用pip安装matplotlib:
```
pip install matplotlib
```
希望这些信息可以帮助你解决问题。
阅读全文