問題発生---centos---実行yumエラー:No module named yum
954 ワード
ケース
当社は、会社のクラスタ環境でyumコマンドを使用してコンポーネントをインストールし、No module named yumをエラーで報告したいと考えています.
完全なエラーメッセージは次のとおりです.
当社は、会社のクラスタ環境でyumコマンドを使用してコンポーネントをインストールし、No module named yumをエラーで報告したいと考えています.
完全なエラーメッセージは次のとおりです.
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.