Blog - MarvelWorks

IT系メインですが分野問わず書き綴ってみます

google_adsense

No module named yum 対処 CentOS 6

      2018/03/27

yumが無い的なメッセージが出たとき。
「Python」の確認を行う。

下記ファイルがあるか調べる。
/usr/bin/python.26

あった場合、
#!/usr/bin/python

#!/usr/bin/python.26
に変更する

yumが無い的なメッセージ
===============================================================================
# yum --help
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 c, which is:
2.7.11 (default, Jun 2 2017, 00:04:44)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq

 - Linux

error: Content is protected !!