Python pycairo已经安装,但check dependencies表示它没有安装

Python pycairo已经安装,但check dependencies表示它没有安装,python,packages,libraries,package-managers,pycairo,Python,Packages,Libraries,Package Managers,Pycairo,Pycairo已经安装,但check dependacies脚本说它没有安装 Hrishikeshs-MacBook-Pro:graphite hrishikeshparanjape$ brew install py2cairo Warning: py2cairo-1.10.0 already installed Hrishikeshs-MacBook-Pro:graphite hrishikeshparanjape$ sudo python check-dependencies.py [FA

Pycairo已经安装,但check dependacies脚本说它没有安装

Hrishikeshs-MacBook-Pro:graphite hrishikeshparanjape$ brew install py2cairo
Warning: py2cairo-1.10.0 already installed
Hrishikeshs-MacBook-Pro:graphite hrishikeshparanjape$ sudo python check-dependencies.py 
[FATAL] Unable to import the 'cairo' module, do you have pycairo installed for python 2.7.5?
[WARNING]
Unable to import the 'ldap' module, do you have python-ldap installed for python 2.7.5?
Without python-ldap, you will not be able to use LDAP authentication in the graphite webapp.

1 necessary dependencies not met. Graphite will not function until these dependencies are fulfilled.
1 optional dependencies not met. Please consider the warning messages before proceeding.

MacOSX安装的python以一种“奇怪”的方式维护库。将您的操作系统更改为Linux的任何发行版。我安装了ubuntu,它对我非常好。

可能与