Subscription manager register fails with Distribution Not Found error

Solution Verified - Updated -

Issue

  • While trying to register the client system to the Red Hat Satellite Server failing with pkg_resources.DistributionNotFound error.

    File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
    pkg_resources.DistributionNotFound: The 'subscription-manager==1.24.26' distribution was not found and is required by the application
    

Environment

  • Red Hat Satellite 6
  • 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