因为lxml属于linux类库,并不是python专用,因此不适用pip install安装 $sudo apt-get install libxml2-dev libxslt-dev python2.7-dev