Since installing then removing a non-RHEL python installation, yum fails continuously

Solution Verified - Updated -

Issue

  • yum commands, such as yum repolist exit after printing the following message

    # yum repolist
    [...]
    No module named time
    
  • Some alternate python installation was installed on the system, then removed in a attempt to solve the issue above

Environment

  • Red Hat Enterprise Linux (RHEL) 7
    • yum
    • python

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content