If python-pcp isn't installed, the python client tools fail to run,
even if I have python3-pcp installed. e.g.
[pcp-monitor] pmiostat
Traceback (most recent call last):
File "/usr/bin/pmiostat", line 19, in <module>
from pcp import pmapi, pmcc
ImportError: No module named pcp
If I edit the script and change the interpreter to python3, it works.
Or, if I install python-pcp it works. So either pcp-system-tools is
missing a dep on python-pcp, or the interpreter should be /usr/bin/python3
for platforms that support python3.
Anyone know which is the preferred solution? This was noticed in the
pcp-monitor container image - I can easily enough tell it to also install
pcp-python but that's not going to fix the underlying issue.
Thanks
-- Mark
|