http://blog.csdn.net/turkeyzhou/article/details/8880887
1. 下载ez_setup.py。Linux下可使用此命令: wget -q http://peak.telecommunity.com/dist/ez_setup.py。
2. 运行ez_setup.py:python ez_setup.py ;如果运行正常,那就安装成功了。
以2.6为例
下载https://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086
setuptools-0.6c11-py2.7.egg
#egg = download_setuptools(version, delay=0)
egg="/usr/local/app/setuptools-0.6c11-py2.7.egg"