- 论坛徽章:
- 0
|
已经按照网上的方法修改过
# vi /usr/bin/yum 文件了,不管改成2.4还是2.6都不行
还有其他方法都用过了。。。
可能系统有点乱了
现在这样都不行了
[root@localhost bin]# python --version
-bash: python: command not found
YUM错误:
[root@localhost bin]# yum install httpd
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.6.5 (r265:79063, Jul 14 2010, 11:36:23)
[GCC 4.4.4 20100630 (Red Hat 4.4.4-10)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq |
|