apt-get install python python-dev python-distribute python-pip \
libcurl4-openssl-dev libxml2-dev libxslt1-dev python-lxml \
ibssl-dev zlib1g-dev


安装完上面组件要注意!

python如果是python3 需要安装python3-dev

不然会报错
Failed building wheel for pycurl
Running setup.py clean for pycurl
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1