使用pip3为python3安装
pip3
pip3 install lxml
没有pip3的先安装一下
sudo easy_install pip
为python安装
pip install lxml