环境

操作系统:CentOS 6.7 32-bit

Python:2.6.6

安装

先安装setuptools和wget

yum -y install wget
wget https://pypi.python.org/pypi?:action=show_md5&digest=f7f447663f7d5e17c84be10dc6b195fd
tar xzf setuptools-23.1.0.tar.gz
cd setuptools-23.1.0
python setup.py install

下载pip

wget https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz#md5=87083c0b9867963b29f7aba3613e8f4a

解压、安装

tar xzf pip-8.1.2.tar.gz
cd pip-8.1.2
python setup.py install

 

posted on 2016-05-12 14:36  昨、夜星辰  阅读(562)  评论(0编辑  收藏  举报