[root@linux-216 docutils-0.11]# wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python --2014-03-17 10:08:08-- https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py 正在解析主机 bitbucket.org... 131.103.20.167, 131.103.20.168 正在连接 bitbucket.org|131.103.20.167|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:10300 (10K) [text/plain] 正在保存至: “STDOUT” 100%[====================================================================================================================================================>] 10,300 --.-K/s in 0s 2014-03-17 10:08:10 (1000 MB/s) - 已写入标准输出 [10300/10300] Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-3.3.zip
测试
[root@linux-216 docutils-0.11]# easy_install textile Searching for textile Reading https://pypi.python.org/simple/textile/ Best match: textile 2.1.5 Downloading https://pypi.python.org/packages/source/t/textile/textile-2.1.5.tar.gz#md5=6e030e112eca1dafa1be84cf5575560d Processing textile-2.1.5.tar.gz Writing /tmp/easy_install-jDiIGK/textile-2.1.5/setup.cfg Running textile-2.1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-jDiIGK/textile-2.1.5/egg-dist-tmp-WL5maA Adding textile 2.1.5 to easy-install.pth file Installed /usr/lib/python2.6/site-packages/textile-2.1.5-py2.6.egg Processing dependencies for textile Finished processing dependencies for textile [root@linux-216 docutils-0.11]#
成功。
转载于:https://blog.51cto.com/alwaysyunwei/1377822