como instalar o easy_install Via yum no Linux CentOS Server

3

por favor me diga como instalar o easy_install Via yum no Linux CentOS Server

eu tentei isso no centro de comando do painel

yum install python-setuptools

saída ....

  • 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!

quando eu executo este comando

easy_install html5lib

então eu recebo o erro

sh: easy_install: command not found

então por favor me ajude a instalar o comando easy_install estou usando centos 5 32bit

    
por zahid 08.05.2011 / 20:01

3 respostas

7

A saída exibida parece indicar que você saiu do download e instalou sem realmente fazer isso. Tente yum install -y python-setuptools para concluir a instalação e, em seguida, experimente o comando easy_install.

    
por 08.05.2011 / 21:07
1

Desative o repositório "chl" e tente novamente. Está no repositório de base.

    
por 08.05.2011 / 20:03
0

eu tentei

yum install -y python-setuptools

mas ainda não instalado

  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)
    
por 10.05.2011 / 16:54

Tags