++ to what Javier said, I suspect this issue is caused by a venv or pyenv which is not able to access the site packages. If the YUM module was actually missing from the system, yum itself would be broken. As such I'm inclined to close this as "not a bug."
++ to what Javier said, I suspect this issue is caused by a venv or pyenv which is not able to access the site packages. If the YUM module was actually missing from the system, yum itself would be broken. As such I'm inclined to close this as "not a bug."