* Guillaume Clercin <[email protected]> 2018.02.07 12:13: > netdata@kazoo:/usr/lib/x86_64-linux-gnu/netdata$ ./plugins.d/python.d.plugin > 1 debug trace mdstat > Traceback (most recent call last): > File "./plugins.d/python.d.plugin", line 31, in <module> > from bases.loaders import ModuleAndConfigLoader > File > "/usr/lib/x86_64-linux-gnu/netdata/python.d/python_modules/bases/loaders.py", > line 15, in <module> > from pyyaml2 import SafeLoader as YamlSafeLoader > ImportError: No module named pyyaml2 > > According the file > "/usr/lib/x86_64-linux-gnu/netdata/python.d/python_modules/bases/loaders.py", > python2 module require pyyaml2 and python3 module require pyyaml3. > > Import thing, I modified > "/usr/lib/x86_64-linux-gnu/netdata/plugins.d/python.d.plugin" > in order to fix the path of "PLUGIN_CONFIG_DIR".
I can confirm the python plugins don't work for me either and I'm getting similar errors when calling the module manually. The suggested patch however doesn't change it for me... Regards Thomas
signature.asc
Description: PGP signature

