【问题标题】:Graphite install error 0.10.0-alpha石墨安装错误 0.10.0-alpha
【发布时间】:2016-06-21 06:43:00
【问题描述】:

使用 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

【问题讨论】:

    标签: python django graphite


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2017-09-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-01-08
      相关资源
      最近更新 更多