Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'configreader' #102

Open
jsotogaviard opened this issue Dec 6, 2021 · 2 comments
Open

No module named 'configreader' #102

jsotogaviard opened this issue Dec 6, 2021 · 2 comments

Comments

@jsotogaviard
Copy link

jsotogaviard commented Dec 6, 2021

I have installed collectd running ./setup.py with python 2.7.18
however the service is not able to start because of the error: No module named 'configreader'

here is the full stack trace
[2021-12-06 20:57:10] [error] ModuleNotFoundError: No module named 'configreader'
[2021-12-06 20:57:20] [info] plugin_load: plugin "cpu" successfully loaded.
[2021-12-06 20:57:20] [info] plugin_load: plugin "df" successfully loaded.
[2021-12-06 20:57:20] [info] plugin_load: plugin "memory" successfully loaded.
[2021-12-06 20:57:20] [info] plugin_load: plugin "swap" successfully loaded.
[2021-12-06 20:57:20] [info] plugin_load: plugin "python" successfully loaded.
[2021-12-06 20:57:20] [error] python plugin: Error importing module "cloudwatch_writer".
[2021-12-06 20:57:20] [error] Unhandled python exception in importing module: ModuleNotFoundError: No module named 'configreader'
[2021-12-06 20:57:20] [error] Traceback (most recent call last):
[2021-12-06 20:57:20] [error] File "/opt/collectd-plugins/cloudwatch_writer.py", line 12, in
from cloudwatch.modules.configuration.confighelper import ConfigHelper
[2021-12-06 20:57:20] [error] File "/opt/collectd-plugins/cloudwatch/modules/configuration/confighelper.py", line 3, in
from configreader import ConfigReader
[2021-12-06 20:57:20] [error] ModuleNotFoundError: No module named 'configreader'

@jsotogaviard
Copy link
Author

what the is the required version of python to run it ?

@Suhan777
Copy link

Any idea on how to get around this? Experiencing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants