码迷,mamicode.com
首页 > 编程语言 > 详细

centos和ubuntu安装python-pip,python包的管理工具

时间:2016-01-30 02:08:11      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:

对于centos: (基于小红帽的系统)

需要先安装epel-release

运行

yum install epel-release

yum install wget

对于cent os 7.x(x86*64)

rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm

对于cent os 6.x(x86*64)

 rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

对于cent os 6.x(i386)

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

对于cent os 5.x(x86*64)

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

对于cent os 5.x(i386)

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

然后安装pip

yum install -y python-pip

对于ubuntu:(基于Debian的系统)

 

  1. # apt-get install Python (基于Debian的系统)
  2. # apt-get install python-pip (基于Debian的系统)

 

centos和ubuntu安装python-pip,python包的管理工具

标签:

原文地址:http://www.cnblogs.com/CheungChanBlogs/p/5170065.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!