/usr/lib/python2.4/site-packages/cElementTree.so: 無効な ELF クラス: ELFCLASS32

/usr/lib/python2.4/site-packages/cElementTree.so: 無効な ELF クラス: ELFCLASS32
 yum update
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, Jan  9 2013, 06:47:03)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)]

調べてみてyumできれいに実行してみましたが、まだ何もインストールまたは更新できません。

32~64ビットの問題ですか?

ベストアンサー1

努力する:

  1. ダウンロード中CentOS 7用Yum
  2. rpm -ivh yum-*保存した場所から
  3. 再発行yum update。それでも苦情がある場合は、特定のバージョンが必要です。要素ツリー-x86_64
  4. 要素ツリーを使用して手順2を繰り返します。

おすすめ記事