subscription-manager commands are failing with Error: No module named urllib3.packages.six

Solution Verified - Updated -

Issue

  • subscription-manager commands are throwing below error:-

    # subscription-manager list
    Unable to find Subscription Manager module.
    Error: No module named 'urllib3.packages.six'
    
    # subscription-manager status
    Unable to find Subscription Manager module.
    Error: No module named 'urllib3.packages.six'
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Subscription Manager(RHSM)

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