centos 5.8 上没有可用的 python-setuptools 软件包

centos 5.8 上没有可用的 python-setuptools 软件包

我正在运行 oracle-linux (与 rhel 相同) 5.8,并尝试创建一个包含 pip 和一些模块的 python 本地化版本。我已经下载了 pip,但无法安装它:

[root@oracle-linux Python-2.7.5]# yum -y install python-setuptools python-pip
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
epel                                                     | 3.6 kB     00:00     
Setting up Install Process
No package python-setuptools available.
Resolving Dependencies
--> Running transaction check
---> Package python-pip.noarch 0:0.8-1.el5 set to be updated
--> Processing Dependency: python-setuptools for package: python-pip
--> Finished Dependency Resolution
python-pip-0.8-1.el5.noarch from epel has depsolving problems
  --> Missing Dependency: python-setuptools is needed by package python-pip-0.8-1.el5.noarch (epel)
Error: Missing Dependency: python-setuptools is needed by package python-pip-0.8-1.el5.noarch (epel)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

因此让我们尝试安装依赖项:

[root@oracle-linux Python-2.7.5]# yum install -y python-setuptools
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
No package python-setuptools available.
Nothing to do

答案1

python-setuptools位于基础存储库中。购买合约即可访问它。

相关内容