Graphite 安装错误 0.10.0-alpha

Graphite install error 0.10.0-alpha

使用 DJango 启动 Graphite-web 时出现以下错误。 0.9.15 工作正常,但我希望使用 0.10.x

中可用的新 "mapSeries" 函数

似乎缺少导入 -

Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
Traceback (most recent call last):
File "/opt/graphite/conf/graphite.wsgi", line 46, in <module>
import graphite.metrics.search  # noqa
File "/opt/graphite/webapp/graphite/metrics/search.py", line 6, in <module>
from graphite.storage import is_pattern, match_entries
ImportError: cannot import name match_entries

我不是 python 程序员,但也许 setup.py 中缺少软件包?

https://github.com/graphite-project/graphite-web/blob/master/setup.py

我通过将 /opt/graphite/conf/graphite.wsgi 更新到最新的示例版本解决了这个问题。
0.9.x 版本与 0.10.x

不兼容