2

我在项目中安装 pycairo 时遇到问题。请看下面的错误,

Downloading/unpacking git+http://anongit.freedesktop.org/git/pycairo (from -r requirements.txt (line 7))
  Cloning http://anongit.freedesktop.org/git/pycairo to /tmp/pip-puo8hs-build
  Running setup.py egg_info for package from git+http://anongit.freedesktop.org/git/pycairo
    cairo >= 1.10.2  Failed
    /bin/sh: 1: pkg-config: not found

    Complete output from command python setup.py egg_info:
    cairo >= 1.10.2  Failed

/bin/sh: 1: pkg-config: not found

请解决我的问题?

4

0 回答 0