尝试安装python-devel时出错

尝试安装python-devel时出错,python,Python,当我尝试安装pythondevel时,它总是给我这个错误。降级也不起作用。任何帮助都将不胜感激 $yum install python-devel Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package python-devel.x86_64 0:2.6.6-37.el6_4 will be installed --> Processing Dep

当我尝试安装pythondevel时,它总是给我这个错误。降级也不起作用。任何帮助都将不胜感激

$yum install python-devel

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.x86_64 0:2.6.6-37.el6_4 will be installed
--> Processing Dependency: python(x86-64) = 2.6.6-37.el6_4 for package: python-devel-2.6.6-37.el6_4.x86_64
--> Finished Dependency Resolution
Error: Package: python-devel-2.6.6-37.el6_4.x86_64 (baseos_repo)
           Requires: python(x86-64) = 2.6.6-37.el6_4
           Installed: python-2.6.6-52.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               python(x86-64) = 2.6.6-52.el6
           Available: python-2.6.6-36.el6.x86_64 (baseos_repo)
               python(x86-64) = 2.6.6-36.el6
           Available: python-2.6.6-37.el6_4.x86_64 (baseos_repo)
               python(x86-64) = 2.6.6-37.el6_4
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

F23 repos中Python3的最新版本是F23“更新”存储库中的3.4.3-6.fc23

代码:

dnf list python3 python3 devel--enablerepo=上次更新测试 元数据过期检查:0:29:48之前,2016年4月23日星期六18:21:25。 已安装的python3.x86_64软件包
3.4.3-6.fc23@更新可用软件包python3.i686 3.4.3-6.fc23
更新python3-devel.i686 3.4.3-6.fc23
更新python3-devel.x86_64 3.4.3-6.fc23
更新

运行命令

代码:


这是否意味着我必须升级到Python2.7?。我正在使用随cent os一起安装的python 2.6。如果你没有任何基于2.6的依赖项,你应该升级到2.7,这就是我最终要解决的问题。升级到2.7。谢谢
dnf list installed python3