centos5 – 如何在Linux CentOS Server上通过yum安装easy_install

请告诉我如何在 Linux CentOS Server上安装easy_install Via yum

我在面板指挥中心试过了

yum install python-setuptools

输出….

  • epel: mirrors.tummy.com * base:
    mirrors.tummy.com * updates:
    centos.mirrors.tds.net * addons:
    mirror.fdcservers.net * extras:
    mirrors.gigenet.com 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.5-6.el5 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-libs.i386 0:2.6.5-6.el5 set to be updated
    —> Package libffi.i386 0:3.0.5-1.el5 set to be updated
    –> Finished Dependency Resolution

Dependencies Resolved

================================================================================ Package Arch
Version Repository
Size
================================================================================ Installing: python-setuptools
noarch 0.6c9-5
chl 357 k Installing for
dependencies: 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

Transaction Summary
================================================================================ Install 4 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 7.5 M Is this ok
[y/N]: Exiting on user Command
Complete!

当我运行此命令

easy_install html5lib

然后我得到错误

sh: easy_install: command not found

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

您显示的输出似乎暗示您退出下载并安装而不实际执行此操作.尝试使用yum install -y python-setuptools完成安装,然后尝试使用easy_install命令.

相关文章

linux下开机自启: 在/etc/init.d目录下新建文件elasticsear...
1、因为在centos7中/etc/rc.d/rc.local的权限被降低了,所以...
最简单的查看方法可以使用ls -ll、ls-lh命令进行查看,当使用...
ASP.NET Core应用程序发布linux在shell中运行是正常的。可一...
设置时区(CentOS 7) 先执行命令timedatectl status|grep &...
vim /etc/sysconfig/network-scripts/ifcfg-eth0 B...