在CentOS 6.7上安装python33的错误

时间:2015-08-28 12:33:31

标签: python linux

每当我尝试在CentOS 6.7中安装python33时,都会收到以下错误消息。

each-in

我习惯了ubuntu,其中apt-get似乎工作得非常好。我觉得yum应该有点类似。它不应该只是找到并下载依赖项吗?

1 个答案:

答案 0 :(得分:1)

对于它的价值,我有一个全新的CentOS 6.7系统(最近yum upgrade):

[root@b854039a02fe /]# cat /etc/centos-release 
CentOS release 6.7 (Final)

默认的存储库集中没有python33个包:

[root@b854039a02fe /]# yum install python33
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
 * base: mirror.atlanticmetro.net
 * extras: mirror.atlanticmetro.net
 * updates: ftp.usf.edu
No package python33 available.

显然an SCL repositorypython33,所以:

[root@b854039a02fe /]# yum install centos-release-SCL

然后:

[root@b854039a02fe /]# yum install python33
[...]

Installed:
  python33.x86_64 0:1.1-12.el6.centos.alt                                       

Dependency Installed:
  python33-python.x86_64 0:3.3.2-14.el6.centos.alt                              
  python33-python-devel.x86_64 0:3.3.2-14.el6.centos.alt                        
  python33-python-docutils.noarch 0:0.11-1.el6.centos.alt                       
  python33-python-jinja2.noarch 0:2.6-11.el6.centos.alt                         
  python33-python-libs.x86_64 0:3.3.2-14.el6.centos.alt                         
  python33-python-markupsafe.noarch 0:0.11-10.el6.centos.alt                    
  python33-python-nose.noarch 0:1.3.0-1.el6.centos.alt                          
  python33-python-pygments.noarch 0:1.5-3.el6.centos.alt                        
  python33-python-setuptools.noarch 0:0.9.8-1.el6.centos.alt                    
  python33-python-simplejson.x86_64 0:3.2.0-1.el6.centos.alt                    
  python33-python-sphinx.noarch 0:1.1.3-8.el6.centos.alt                        
  python33-python-sqlalchemy.noarch 0:0.7.9-4.el6.centos.alt                    
  python33-python-virtualenv.noarch 0:1.10.1-1.el6.centos.alt                   
  python33-runtime.x86_64 0:1.1-12.el6.centos.alt                               
  scl-utils.x86_64 0:20120927-27.el6_6                                          

Complete!

您指向的特定存储库镜像可能不完整。考虑运行:

yum clean all

然后重试。