## 接下来安装一些需要的包环境(setuptools, pip) wget –no-check-certificate ‘https://pypi.python.org/packages/source/s/setuptools/setuptools-0.7.2.tar.gz’ tar -xvf setuptools-0.7.2.tar.gz cd setuptools-0.7.2 /usr/local/python.2.7.9/bin/python setup.py install --prefix=/usr/local/python.2.7.9 wget –no-check-certificate ‘https://pypi.python.org/packages/source/p/pip/pip-1.2.tar.gz’ tar -xvf pip-1.2.tar.gz cd pip-1.2 /usr/local/python.2.7.9/bin/python setup.py install --prefix=/usr/local/python.2.7.9 ## 创建一个 pip-2.7 的链接, 方便调用 ln -sv /usr/local/python2.7/bin/pip-2.7 /usr/bin/pip-2.7