pcp
[Top] [All Lists]

pmrep error on RHEL6.4 / python2.66

To: Marko Myllynen <myllynen@xxxxxxxxxx>
Subject: pmrep error on RHEL6.4 / python2.66
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Thu, 11 Feb 2016 17:16:09 +1100
Cc: pcp <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Hi Marko,

[mgoodwin@rhel64 pcp]$ pmrep --archive qa/archives/20130706 -o csv -u -S @10:00 
-x kernel.all.sysfork
Traceback (most recent call last):
  File "/usr/bin/pmrep", line 45, in <module>
    from collections import OrderedDict
ImportError: cannot import name OrderedDict
[mgoodwin@rhel64 pcp]$ python -V
Python 2.6.6
[mgoodwin@rhel64 pcp]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)


This seems to be a common and known issue on such old python versions - is it 
worth doing
something about it? Maybe put in a spec rule that we need python 2.7 (at a 
guess) or later?

Regards
-- Mark

<Prev in Thread] Current Thread [Next in Thread>