There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.9 (default, Apr 21 2016, 16:51:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)]
If you cannot solve this problem yourself, please go to
the yum faq at:
Revert back to the stock Centos Python and do not ever overwrite the default Python. You can install a newer python along side but NEVER overwrite the default or it will break things like Python or you will have to manually symlink a lof of things to manually use the old/original python.
importing, python, modules, yum, module, install, provides, verify, installed, correctly, doesn, default, apr, gcc, faq, http, baseurl, org, wiki, revert, centos, overwrite, newer, manually, symlink, lof,