carbon-cache will not start

Asked by ian springett on 2018-06-29

new installation on Centos7, carbon-cache fails to start (running as root):

 /opt/graphite/bin/carbon-cache.py start
Traceback (most recent call last):
  File "/opt/graphite/bin/carbon-cache.py", line 32, in <module>
    run_twistd_plugin(__file__)
  File "/opt/graphite/lib/carbon/util.py", line 63, in run_twistd_plugin
    from carbon.conf import get_parser
  File "/opt/graphite/lib/carbon/conf.py", line 30, in <module>
    from carbon.database import TimeSeriesDatabase
  File "/opt/graphite/lib/carbon/database.py", line 21, in <module>
    from six import with_metaclass
ImportError: No module named six

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Piotr Popieluch
Solved:
2018-06-29
Last query:
2018-06-29
Last reply:
2018-06-29
Best Piotr Popieluch (piotr1212) said : #1

You need to install the Python six module. eg. yum install python-six or pip install six

ian springett (jemiss) said : #2

many thanks, as simple as that!