尝试安装python-devel时出错

时间:2015-03-16 16:47:07

标签: python

当我尝试安装python-devel时,它一直给我这个错误。降级也不起作用。任何帮助将不胜感激。

$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

1 个答案:

答案 0 :(得分:0)

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

代码:

  

dnf列表python3 python3-devel --enablerepo = updates-testing最后   元数据到期检查:2016年4月23日星期六0:29:48。   已安装的软件包python3.x86_64
  3.4.3-6.fc23 @updates可用软件包python3.i686 3.4.3-6.fc23
  更新python3-devel.i686 3.4.3-6.fc23
  更新python3-devel.x86_64 3.4.3-6.fc23
  更新

运行命令

代码:

dnf list installed python3