首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Linux服务器上通过easy_install安装CentOS

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

Server Fault用户
提问于 2011-05-08 18:01:47
回答 3查看 24.2K关注 0票数 3

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

我在面板指挥中心试过了

代码语言:javascript
复制
yum install python-setuptools

输出..。

  • epel: mirrors.tummy.com * base: mirrors.tummy.com * centos.mirrors.tds.net * addons: mirror.fdcservers.net *附加:由于存储库保护而排除的mirrors.gigenet.com 0包,设置安装过程解析包安装参数解决依赖->运行事务检查->包python-setuptools.noarch0:0.6c9-5设置为处理依赖项:/usr/bin/python 26用于包:Python-setuptools.noarch0:0.6c9-5->运行事务检查->包python26.i 386 0:2.6.5-6.el5设置为待更新->处理依赖项: libpython2.6.so.1.0用于包: python26 -->处理依赖项: libffi.so.5用于包: python26 ->正在运行的事务检查-->包python26-libs.i 386 0:2.6.5-6.el5 ->包libffi.i386 0:3.0.5-1.el5被更新->已完成的依赖解决方案

依赖项解决了================================================================================包Arch 版本Repository Size ================================================================================安装: python26 noarch0.6c9-5 357 k安装用于依赖关系: libffi i386 3.0.5-1.el5 21 k python26 i386 2.6.5-6.el5 6.5M python26-libs i386 2.6。5-6.el5stackNewlineEpel 667k事务处理摘要================================================================================安装4软件包(S) 更新0软件包(S)删除0软件包( 667 )下载总量:7.5M是这个ok y/N:退出用户命令完成!

当我运行这个命令时

easy_install html5lib

那我就错了

sh: easy_install:未找到命令

因此,请帮助我使用centos 5 32位安装easy_install命令am。

EN

回答 3

Server Fault用户

发布于 2011-05-08 19:07:08

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

票数 7
EN

Server Fault用户

发布于 2011-05-08 18:03:39

禁用"chl“回购,然后重试。在基地回购处。

票数 1
EN

Server Fault用户

发布于 2011-05-10 14:54:07

我试过了

代码语言:javascript
复制
yum install -y python-setuptools

但仍未安装

代码语言:javascript
复制
  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)
票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/267518

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档