RandallJ

Member
Nov 13, 2012
12
0
51
cPanel Access Level
Root Administrator
Ok, so not sure the "how come, or why" but I got this..

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.5 (default, Apr 2 2020, 13:16:51)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]

If you cannot solve this problem yourself, please go to
the yum faq at:

http://yum.baseurl.org/wiki/Faq

The "fix" I got to work was to find and go to the executable folder for YUM (was there)
from command line:

/]# cd /usr/bin
/]# yum (confirmed it was there and working)
/]# yum install yum-utils (it repaired what ever was broken)
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,220
2,417
363
cPanel Access Level
Root Administrator
Hey there! While not an issue with cPanel tools, everything on the internet points to a Python problem on the machine, such as this official guide from RedHat:


You may want to check the server's bash history for anything related to Python, or the /var/log/yum.log file on the machine to see if there were any recent change to Python packages on the system that may have contributed to this.