Red Hat Bugzilla – Bug 984210
Missing dependency 'python-setuptools' for PyMunin
Last modified: 2014-09-17 09:49:49 EDT
At least the phpfpmstats munin plugin from the PyMunin package requires the 'pkg_resources' module from python-setuptools.
Version-Release number: 0.9.19-1.el6
Steps to Reproduce:
1. Install PyMunin
2. Enable the phpfpmstats plugin (ln -s /usr/share/munin/plugins/phpfpmstats /etc/munin/plugins/)
3. Run the plugin (munin-run phpfpmstats)
Traceback (most recent call last):
File "/etc/munin/plugins/phpfpmstats", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
PyMunin-0.9.27-2.fc19 has been submitted as an update for Fedora 19.
PyMunin-0.9.19-2.el6 has been submitted as an update for Fedora EPEL 6.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing PyMunin-0.9.19-2.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
PyMunin-0.9.27-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
PyMunin-0.9.19-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
I just installed PyMunin 0.9.19-2.el6 on my CentOS 6 system, and the python-setuptools package was not installed. It looks like this bug has not been fixed:
[chrisb@db1 plugins]$ rpm -q PyMunin
[chrisb@db1 plugins]$ rpm -qR PyMunin
python(abi) = 2.6
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1