安装pip

#ubuntu

sudo apt-get install python3-pip


#CentOS 7 for Python 2.x

yum install python-setuptools


#CentOS 7 for Python 3.x

yum install python34-setuptools
easy_install pip 如果嫌慢,手动下载源码包安装
wget https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9
tar xf pip-9.0.1.tar.gz 
cd pip-9.0.1/
python3.4 setup.py install
python setup.py install


# 安装json

wget https://pypi.python.org/packages/40/ad/52c1f3a562df3b210e8f165e1aa243a178c454ead65476a39fa3ce1847b6/simplejson-3.10.0.tar.gz#md5=426a9631d22851a7a970b1a677368b15
tar xf simplejson-3.10.0.tar.gz 
cd simplejson-3.10.0/
python3.4 setup.py  install
python setup.py  install