微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > 请教yum适用的python

请教yum适用的python

时间:10-02 整理:3721RD 点击:
请教大家,我打算替换redhat5.5的yum源

安装了yum文件,对应的python是2.4.3,修改了centos_base.repo,

[root@qing]# rpm -qa | grep yum
yum-metadata-parser-1.1.2-3.el5.centos
yum-3.2.22-26.el5.centos
yum-fastestmirror-1.1.16-14.el5.centos.1

[root@qing]# python
Python 2.4.3 (#1, Sep  3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>   

但是update的时候,说是python不配,请问python什么版本适用?

[root@qing]# yum -y update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

    No module named rpm

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, Sep  3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]

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

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top