如何在Linux CentOS服务器上通过yum安装easy_install

请告诉我如何在Linux CentOS服务器上通过yum安装easy_install

我试图在面板指挥中心

yum install python-setuptools 

输出….

  • epel:mirrors.tummy.com * base:mirrors.tummy.com *更新:centos.mirrors.tds.net * addons:mirror.fdcservers.net * extras:mirrors.gigenet.com由于版本库保护而排除了0个软件包安装进程parsing包安装参数解决依赖关系 – >运行事务检查 – >包python-setuptools.noarch 0:0.6c9-5设置为更新 – >处理相关性:/ usr / bin / python26 for package:python -setuptools – >正在运行事务检查—> Package python26.i386 0:2.6.5-6.el5被更新 – >处理依赖:libpython2.6.so.1.0 for package:python26 – >处理依赖关系:libffi.so.5 for package:python26 – >运行事务检查—>软件包python26-libs.i386 0:2.6.5-6.el5设置为更新—>软件包libffi.i386 0: 3.0.5-1.el5设置为更新 – >完成的依赖关系parsing

依赖解决

================================================== ==============================包装拱门
版本库
大小================================================= ===============================安装:python-setuptools
noarch 0.6c9-5
chl 357 k安装依赖项:libffi
i386 3.0.5-1.el5
epel 21 k python26
i386 2.6.5-6.el5
epel 6.5 M python26-libs
i386 2.6.5-6.el5
epel 667 k

交易总结================================================ ================================安装4包裹(S)
更新0套餐
删除0包(S)

总下载大小:7.5 M是否可以[y / N]:退出用户命令完成!

当我运行这个命令

easy_install html5lib

那么我得到错误

sh:easy_install:找不到命令

所以请帮我安装使用centos 5 32bit的easy_install命令

你显示的输出似乎意味着你退出下载和安装,而没有实际上这样做。 尝试yum install -y python-setuptools来完成安装,然后尝试easy_install命令。

禁用“chl”回购,然后重试。 这是在基地回购。

我试过了

 yum install -y python-setuptools 

但仍未安装

  Loaded plugins: fastestmirror, protectbase Loading mirror speeds from cached hostfile * base: mirror.sanctuaryhost.com * updates: mirror.fdcservers.net * addons: centos.mirrors.tds.net * extras: mirror.fdcservers.net 0 packages excluded due to repository protections Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package python-setuptools.noarch 0:0.6c9-5 set to be updated --> Processing Dependency: /usr/bin/python26 for package: python-setuptools --> Running transaction check ---> Package python26.i386 0:2.6.2-2 set to be updated --> Processing Dependency: libpython2.6.so.1.0 for package: python26 --> Processing Dependency: libffi.so.5 for package: python26 --> Running transaction check ---> Package python26.i386 0:2.6.2-2 set to be updated --> Processing Dependency: libffi.so.5 for package: python26 ---> Package python26-libs.i386 0:2.6.2-2 set to be updated --> Finished Dependency Resolution python26-2.6.2-2.i386 from chl has depsolving problems --> Missing Dependency: libffi.so.5 is needed by package python26-2.6.2-2.i386 (chl) Error: Missing Dependency: libffi.so.5 is needed by package python26-2.6.2-2.i386 (chl)