2013-08-29 12 views
5

私は私のシステムでpycairoをインストールするとき、私はubuntu-12.04でカイロのパスを設定する方法は?

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-ud145u-build 
    Running setup.py egg_info for package from git+http://anongit.freedesktop.org/git/pycairo 
    cairo >= 1.10.2 Failed 
    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 

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

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 

答えて

11

が最初libcairo2-devをインストールし、エラーが発生しているpython3.2 + .Butでpycairoをインストールする必要があります。

エクセレント
sudo apt-get install libcairo2-dev 
+0

偉大な作業。ありがとう。 – dhana

関連する問題