全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1435|回复: 5
打印 上一主题 下一主题

[Windows VPS] centos 6.9 x64 怎么安装 pip ?

[复制链接]
跳转到指定楼层
1#
发表于 2017-10-27 20:40:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
之前用命令可以安装
  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 ~]#
复制代码
推荐
发表于 2017-10-27 20:44:08 | 只看该作者
yum -y install epel-release
yum -y install python-pip
2#
发表于 2017-10-27 20:43:16 | 只看该作者
yum install python-pip

这个有反应没?
4#
 楼主| 发表于 2017-10-27 20:56:06 | 只看该作者
萌萌小正太 发表于 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 ~]#
复制代码
5#
发表于 2017-10-27 21:09:17 | 只看该作者
http://supervisord.org/installing.html
6#
发表于 2017-10-27 21:09:58 来自手机 | 只看该作者
nic2013 发表于 2017-10-27 20:56
谢谢大佬, pip 已安装, 但是 easy_install supervisor  一样的报错,怎么搞?

...

直接 yum -y install supervisor
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-13 16:20 , Processed in 0.059745 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表