重要なお知らせ

「教えて! goo」は2025年9月17日(水)をもちまして、サービスを終了いたします。詳細はこちら>

電子書籍の厳選無料作品が豊富!

こんにちは。

centos5.3を使用しております。
yumが使用できずインストールしたのですが
実行すると以下のようなエラーが出ます。


[root@vps ~]# yum install squid
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib/python2.4/site-packages/cElementTree.so: wrong ELF class: ELFCLASS32

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.4.3 (#1, Jul 27 2009, 17:56:30)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq


どなたかお助け下さい。
以上宜しくお願い申し上げます。

A 回答 (1件)

インストールされているPythonと、使おうとしているyumの間において


動作バージョンの不一致がでているとのエラーのようです。

エラーメッセージをそのまま受け取るなら
動作するバージョンのものを入れなおせばよさそうですが・・・
    • good
    • 0
この回答へのお礼

hisappyさん

おはようございます。
早速の御回答ありがとうございます。

一度Pythonとyumをアンインストールし
バージョンを調べて新しいものをインストールしたところ
うまくいきました。

本当にありがとうございました!!

お礼日時:2010/02/17 09:16

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!