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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In