我在面板指挥中心试过了
yum install python-setuptools
输出….
- epel: mirrors.tummy.com * base:@H_301_10@ mirrors.tummy.com * updates:@H_301_10@ centos.mirrors.tds.net * addons:@H_301_10@ mirror.fdcservers.net * extras:@H_301_10@ mirrors.gigenet.com 0 packages@H_301_10@ excluded due to repository protections@H_301_10@ Setting up Install Process Parsing@H_301_10@ package install arguments Resolving@H_301_10@ Dependencies@H_301_10@ –> Running transaction check@H_301_10@ —> Package python-setuptools.noarch 0:0.6c9-5 set to be updated@H_301_10@ –> Processing Dependency: /usr/bin/python26 for package:@H_301_10@ python-setuptools@H_301_10@ –> Running transaction check@H_301_10@ —> Package python26.i386 0:2.6.5-6.el5 set to be updated@H_301_10@ –> Processing Dependency: libpython2.6.so.1.0 for package:@H_301_10@ python26@H_301_10@ –> Processing Dependency: libffi.so.5 for package: python26@H_301_10@ –> Running transaction check@H_301_10@ —> Package python26-libs.i386 0:2.6.5-6.el5 set to be updated@H_301_10@ —> Package libffi.i386 0:3.0.5-1.el5 set to be updated@H_301_10@ –> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch@H_301_10@ Version Repository@H_301_10@ Size@H_301_10@ ================================================================================ Installing: python-setuptools@H_301_10@ noarch 0.6c9-5@H_301_10@ chl 357 k Installing for@H_301_10@ dependencies: libffi@H_301_10@ i386 3.0.5-1.el5@H_301_10@ epel 21 k python26@H_301_10@ i386 2.6.5-6.el5@H_301_10@ epel 6.5 M python26-libs@H_301_10@ i386 2.6.5-6.el5@H_301_10@ epel 667 k
Transaction Summary@H_301_10@ ================================================================================ Install 4 Package(s)@H_301_10@ Update 0 Package(s)@H_301_10@ Remove 0 Package(s)
Total download size: 7.5 M Is this ok@H_301_10@ [y/N]: Exiting on user Command@H_301_10@ Complete!
当我运行此命令
easy_install html5lib
然后我得到错误
sh: easy_install: command not found
所以请帮我安装easy_install命令am使用centos 5 32bit