-
Bug
-
Resolution: Done-Errata
-
Minor
-
None
-
pcp-6.1.1-1.el9
-
None
-
Low
-
rhel-sst-pt-pcp
-
ssg_platform_tools
-
10
-
15
-
1
-
QE ack, Dev ack
-
False
-
-
No
-
None
-
Release Note Not Required
-
-
All
-
None
Description of problem:
A user can not run `dstat` when configured to use its own python installation, for example, from anaconda. The error received is:
$ dstat
Traceback (most recent call last):
File "/usr/bin/dstat", line 30, in <module>
from pcp import pmapi, pmconfig
ModuleNotFoundError: No module named 'pcp'
for some reason pmpython is not using platform python, but the user's local python
$ which pmpython
/usr/bin/pmpython
$ pmpython
Python 3.11.4 | packaged by conda-forge | (main, Jun 10 2023, 18:08:17) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Version-Release number of selected component (if applicable):
pcp-system-tools-6.0.4-2.el9.x86_64
How reproducible: 100%
Steps to Reproduce:
1. install anaconda python
2. conda activate env
3. dstat
- external trackers
- links to
-
RHBA-2023:124474 pcp bug fix and enhancement update