Pergunta

O Pycairo já está instalado, mas o script de verificação de dependências diz que não está instalado.

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.
Foi útil?

Solução

A instalação do python no mac os x mantém bibliotecas de uma maneira "estranha".Mude seu sistema operacional para qualquer distribuição de Linux.Instalei o Ubuntu e ele me tratou surpreendentemente bem.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top