欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

CentOS 安装easy_install、pip的方法

shiping1 的头像
CentOS 安装easy_install的方法:
wget -q http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py

CentOS安装python包管理安装工具pip的方法如下:

wget --no-check-certificate https://github.com/pypa/pip/archive/1.5.5.tar.gz

注意:wget获取https的时候要加上:--no-check-certificate

tar zvxf 1.5.5.tar.gz    #解压文件
cd pip-1.5.5/
python setup.py install

OK,这样就安装好pip了,

下面来安装 requests吧。

pip install requests

来自 http://www.centoscn.com/image-text/install/2015/0129/4584.html
普通分类: