2
我試圖安裝sdaps但是當我setup.py運行安裝命令時,它給了我以下錯誤:sdaps安裝給pycairo定位誤差
[email protected]:~/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
我試圖通過安裝
[email protected]:~/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.
解決這個問題
但再次同樣的問題仍然存在:
[email protected]:~/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
你知道是什麼原因導致這個問題?
你安裝所有的依賴? http://sdaps.org/Documentation/Dependencies – mmdanziger