Pycairo已经安装了,但检查依赖项说它不是
-
21-12-2019 - |
题
pycairo已安装,但检查依赖性脚本表示未安装它。
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.
. 解决方案
Mac OS X安装Python以“奇怪”方式维护库。将操作系统更改为Linux的任何分发。我安装了ubuntu,它令人惊讶地对待我。
不隶属于 StackOverflow