|
楼主 |
发表于 2006-6-21 22:17:33
|
显示全部楼层
安装了这两个:
http://isoredirect.centos.org/ce ... mconf-4-4.5.src.rpm
http://isoredirect.centos.org/ce ... 2-2.centos4.src.rpm
运行yum, 提示:
# 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.3.4 (#1, Feb 2 2005, 11:44:49)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
[root@node0 Load]# rpm -e yum
error: package yum is not installed
[root@node0 Load]# rpm -qa |grep yum
[root@node0 Load]# python
Python 2.3.4 (#1, Feb 2 2005, 11:44:49)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yum
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named yum
>>> |
|