Translated message

A translation of this page exists in English.

コマンド 'subscription-manager list' が 'Unable to find Subscription Manager module Error: No module named version' で失敗する

Solution Verified - Updated -

Issue

この問題は、subscription-manager list コマンドを実行して、システムで特に使用可能なサブスクリプションを表示しようとしたときに発生します。出力は次のとおりです。

  • subscription-manager list コマンドが、Unable to find Subscription Manager module.Error: No module named version で失敗します。
# subscription-manager list
Unable to find Subscription Manager module.
Error: No module named version
  • RHSM ログは次のことをレポートします。
# 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)
    • 7.x
    • 6.x
    • 5.11 (ELS)

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