yum was working fine till I upgraded Python for the sake of django in my VPS.
It throws exactly this error:
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.2 (default, Mar 7 2012, 08:41:42) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
Why is this happening?
Does it mean I have to reinstall yum?