标签:
(1)下载setuptools包
# wget http://pypi.python.org/packages/source/s/setuptools/setuptools-2.0.tar.gz
(2)解压setuptools包
# tar zxvf setuptools-2.0.tar.gz
# cd setuptools-2.0
(3)编译setuptools
# python setup.py build
(4)开始执行setuptools安装
# python setup.py install
现在,setuptools已经安装好,我们再次进入pip-1.4.1目录,使用 “python setup.py install” 命令安装pip:
dslab@wheezy:/tmp$ cd pip-1.4.1/
dslab@wheezy:/tmp/pip-1.4.1$ sudo python setup.py install
标签:
原文地址:http://www.cnblogs.com/along1226/p/5602469.html