Pycairo ya instalado, pero las dependencias de verificación dice que no es
-
21-12-2019 - |
Pregunta
Pycairo ya está instalado, pero verifique la script de dependencias, dice que no 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.
Solución
Mac OS X La instalación de Python mantiene bibliotecas en una forma "extraña".Cambie su sistema operativo a cualquier distribución de Linux.Instalé Ubuntu, y me trató sorprendentemente bien.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow