我正在尝试安装sdaps,但是当我运行setup.py安装命令时,它会给出以下错误:
kashif@crunchbang:~/sdaps-1.0.5$ python setup.py install
Package pycairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pycairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pycairo' found
我试图通过安装来解决这个问题
kashif@crunchbang:~/sdaps-1.0.5$ sudo apt-get install python-cairo
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-cairo is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded.
但同样的问题依然存在:
kashif@crunchbang:~/sdaps-1.0.5$ python setup.py install
Package pycairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pycairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pycairo' found
你知道是什么导致了这个问题吗?
发布于 2014-01-13 14:41:35
在继续之前安装以下Ubuntu/Debian包依赖项:
sudo apt-get install python-distutils-extra python-cairo-dev libtiff5-dev \
libcairo2-dev libglib2.0-dev python2.7-dev python-zbar python-gi \
python-gi-cairo gir1.2-gtk-3.0 pdftk python-pypdf python-reportlab \
python-imaging
来源:http://sdaps.org/Documentation/Dependencies
https://stackoverflow.com/questions/21093425
复制相似问题