Anyone knows why this error happens?
Collecting pygobject
Using cached PyGObject-3.27.1.tar.gz
Collecting pycairo>=1.11.1 (from pygobject)
Using cached pycairo-1.15.4.tar.gz
Installing collected packages: pycairo, pygobject
Running setup.py install for pycairo ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-aNZaJA/pycairo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-nItI09-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/cairo
copying cairo/__init__.py -> build/lib.linux-armv7l-2.7/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-aNZaJA/pycairo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-nItI09-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-aNZaJA/pycairo/