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, 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