全球主机交流论坛

标题: centos 6.9 x64 怎么安装 pip ? [打印本页]

作者: nic2013    时间: 2017-10-27 20:40
标题: centos 6.9 x64 怎么安装 pip ?
之前用命令可以安装
  1.         yum -y install git
  2.         yum -y install python-setuptools && easy_install pip
复制代码


现在提示错误,如下,怎么破 ?

  1. [root@192 ~]# yum -y install python-setuptools
  2. Loaded plugins: fastestmirror
  3. Setting up Install Process
  4. Loading mirror speeds from cached hostfile
  5. * base: mirrors.cat.pdx.edu
  6. * extras: repo1.dal.innoscale.net
  7. * updates: mirror.sjc02.svwh.net
  8. Package python-setuptools-0.6.10-3.el6.noarch already installed and latest version
  9. Nothing to do
  10. [root@192 ~]# easy_install pip
  11. Searching for pip
  12. Reading http://pypi.python.org/simple/pip/
  13. Couldn't find index page for 'pip' (maybe misspelled?)
  14. Scanning index of all packages (this may take a while)
  15. Reading http://pypi.python.org/simple/
  16. No local packages or download links found for pip
  17. error: Could not find suitable distribution for Requirement.parse('pip')
  18. [root@192 ~]#
复制代码

作者: iyuheng    时间: 2017-10-27 20:43
yum install python-pip

这个有反应没?
作者: 萌萌小正太    时间: 2017-10-27 20:44
yum -y install epel-release
yum -y install python-pip
作者: nic2013    时间: 2017-10-27 20:56
萌萌小正太 发表于 2017-10-27 20:44
yum -y install epel-release
yum -y install python-pip


谢谢大佬, pip 已安装, 但是 easy_install supervisor  一样的报错,怎么搞?

  1. [root@192 ~]# easy_install supervisor
  2. Searching for supervisor
  3. Reading http://pypi.python.org/simple/supervisor/
  4. Couldn't find index page for 'supervisor' (maybe misspelled?)
  5. Scanning index of all packages (this may take a while)
  6. Reading http://pypi.python.org/simple/
  7. No local packages or download links found for supervisor
  8. error: Could not find suitable distribution for Requirement.parse('supervisor')
  9. [root@192 ~]#
复制代码

作者: iyuheng    时间: 2017-10-27 21:09
http://supervisord.org/installing.html
作者: 萌萌小正太    时间: 2017-10-27 21:09
nic2013 发表于 2017-10-27 20:56
谢谢大佬, pip 已安装, 但是 easy_install supervisor  一样的报错,怎么搞?

...

直接 yum -y install supervisor




欢迎光临 全球主机交流论坛 (https://hostloc.9hanju.com/) Powered by Discuz! X3.4