How to recover python 2.7.5 version from python community version 2.7.14

Solution Verified - Updated -

Issue

  • After installing source code python 2.7.14, the yum update fails with the error No module named rpm.

  • How to recover to python 2.7.5 RPM version which is released by Red Hat.

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.