python-munin
python-munin copied to clipboard
ImportError: cannot import name MuninPlugin
Hi, developer!
Thanks for your munin plugins. As I git clone your plugin and install it use easy_install.But in the interactive show error there
root@saltserver:~# easy_install python-munin/
Processing
Writing /root/python-munin/setup.cfg
Running setup.py -q bdist_egg --dist-dir /root/python-munin/egg-dist-tmp-IWIeAi
zip_safe flag not set; analyzing archive contents...
munin 1.4 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/munin-1.4-py2.7.egg
Processing dependencies for munin==1.4
Finished processing dependencies for munin==1.4
>>> from munin import MuninPlugin
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name MuninPlugin
Could you help me in this matter? Thanks!
Try
python setup.py install from within the python-munin directory
Hey, Thanks for your help @josephmisiti , this is working with :
python setup.py install