- 論壇徽章:
- 0
|
系統(tǒng):Linux HPCserver 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_6
4 x86_64 GNU/Linux
運(yùn)行yum的時(shí)候:
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/_sqlitecache.so: wrong ELF class: ELFCLASS
32
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 14 2008, 18:31:21)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
于是把已有的python卸載,重新裝了python。
結(jié)果:
[root@HPCserver yumm]# rpm -ivh yum*
warning: yum-3.2.22-33.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY,
key ID e8562897
error: Failed dependencies:
/usr/bin/python is needed by yum-3.2.22-33.el5.centos.noarch
python >= 2.4 is needed by yum-3.2.22-33.el5.centos.noarch
python(abi) = 2.4 is needed by yum-3.2.22-33.el5.centos.noarch
python-iniparse is needed by yum-3.2.22-33.el5.centos.noarch
python(abi) = 2.4 is needed by yum-metadata-parser-1.1.2-3.el5.centos.i386
上面顯示沒(méi)有python
[root@HPCserver yumm]# which python
/usr/bin/python
[root@HPCserver yumm]# python -V
Python 2.4.3
上面顯示python已經(jīng)裝了
現(xiàn)在怎么辦? |
|