安装 easy_install
首先下载 : wget -q http://peak.telecommunity.com/dist/ez_setup.py
执行 : python ez_setup.py
添加环境变量:1
2export PYTHONHOME=/usr/local/python2.7
export PATH=….:$PYTHONHOME/bin:$PATH
安装pip
easy_install pip
用pip安装其他第三方包或者查询第三方库
pip install MySQL-python
pip search MySQL-python