Why I see Failed loading plugin "subscription-manager" every time when I run dnf

Solution Verified - Updated -


The following messages show up when execute 'dnf' command.

# dnf
Failed loading plugin "product-id" : No module named 'subscription_manager.productid'
Failed loading plugin "subscription-manager" : cannot import name 'injection'
Failed loading plugin "upload-profile" : cannot import name 'packageprofilelib'
usage: dnf [options] COMMAND


  • Red Hat Enterprise Linux 8

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