Originally posted by: captain AM
Installed all the packages required for yum using the yum.sh script found on the AIX Toolbox for Linux Applications site. OS is at AIX 7.1. Yum successfully installed & ran ok with python as delivered at 2.7.10-1. But after "yum install samba" was successfully installed (which updated python to 2.7.15-1) I get following errors if I run "yum check-update" or other yum commands. "yum check" works ok - no errors.
File "/opt/freeware/lib/python2.7/site-packages/yum/repoMDObject.py", line 140, in parse
parser = iterparse(infile)
File "/opt/freeware/lib/python2.7/site-packages/yum/misc.py", line 1171, in cElementTree_iterparse
_cElementTree_import()
File "/opt/freeware/lib/python2.7/site-packages/yum/misc.py", line 1166, in _cElementTree_import
import cElementTree
ImportError: No module named cElementTree
Yet if I query the rpm that supplies cElementTree I see this module : ( and see it installed at location as listed )
> rpm -ql -p python-2.7.10-1.aix6.1.ppc.rpm|grep cElementTree
/opt/freeware/lib/python2.7/xml/etree/cElementTree.py
/opt/freeware/lib/python2.7/xml/etree/cElementTree.pyc
/opt/freeware/lib/python2.7/xml/etree/cElementTree.pyo
/opt/freeware/lib64/python2.7/xml/etree/cElementTree.py
/opt/freeware/lib64/python2.7/xml/etree/cElementTree.pyc
/opt/freeware/lib64/python2.7/xml/etree/cElementTree.pyo