Command 'subscription-manager list' fails with 'Unable to find Subscription Manager module. Error: No module named version'
Issue
This issue occurs when trying to run subscription-manager list command to show what subscriptions are available specifically to the system. The outputs are the following:
- Command
subscription-manager listfails withUnable to find Subscription Manager module. Error: No module named version
# subscription-manager list
Unable to find Subscription Manager module.
Error: No module named version
- The RHSM log is reporting the following:
# tail /var/log/rhsm/rhsm.log
File "/usr/lib/python2.6/site-packages/subscription_manager/utils.py", line 43, in <module>
import rhsm.version
ImportError: No module named version
Environment
- Red Hat Enterprise Linux (RHEL)
- 5.x (EUS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
