[英]Installing Python devel on centos
bash-4.1# yum install python-devel Loaded plugins: fastestmirror, rhnplugin This system is receiving updates from RHN Classic or RHN Satellite. Loading mirror speeds from cached hostfile * rpmforge: mirror.smartmedia.net.id * webtatic-el5: uk.repo.webtatic.com http://192.168.210.26/centos/6/updates/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package python-devel.x86_64 0:2.6.6-36.el6 will be installed --> Processing Dependency: python(x86-64) = 2.6.6-36.el6 for package: python-devel-2.6.6-36.el6.x86_64 --> Finished Dependency Resolution Error: Package: python-devel-2.6.6-36.el6.x86_64 (centos64-x86_64) Requires: python(x86-64) = 2.6.6-36.el6 Installed: python-2.6.6-37.el6_4.x86_64 (@centos64-updates-x86_64) python(x86-64) = 2.6.6-37.el6_4 Available: python-2.6.6-36.el6.x86_64 (centos64-x86_64) python(x86-64) = 2.6.6-36.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Can somebody help me with above error , I am getting. 有人可以帮助我解决以上错误,我得到了。 Just to let everybody know I am trying to install cx_Oracle on my CentOS system (CentOS release 6.4) and I got this error:- error: command 'gcc' failed with exit status 1 So, I searched and found out to install python-devel and to do that I am getting the above error.
只是让大家知道我正在尝试在我的CentOS系统(CentOS版本6.4)上安装cx_Oracle,但出现此错误:-错误:命令'gcc'失败,退出状态为1,所以,我搜索并发现要安装python-devel为此,我遇到了以上错误。
You have a newer version of python installed than the corresponding source package you're trying to install. 您安装的python版本比您尝试安装的相应源软件包要新。
You have python 2.6.6-37 installed but the latest available source package from your repos (that you can successfully connect to) is 2.6.6-36. 您已经安装了python 2.6.6-37,但是来自您的存储库(可以成功连接到)的最新可用源软件包是2.6.6-36。
But it looks like the python you have installed came from your "updates" repo, http://192.168.210.26/centos/6/updates/i386/repodata/repomd.xml
which isn't working at t he moment. 但是,看来您安装的python来自“更新”存储库,即
http://192.168.210.26/centos/6/updates/i386/repodata/repomd.xml
,目前无法正常工作。
If that repo also had the corresponding python-devel-2.6.6-37 package, and it worked, (didn't throw a PYCURL error) you'd be fine, yum would find that and use it. 如果该存储库也具有相应的python-devel-2.6.6-37软件包,并且可以正常工作(不会引发PYCURL错误),您会很好的,yum会找到并使用它。
So your first step should be fixing your LAN repo / mirror. 因此,您的第一步应该是修复LAN存储库/镜像。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.