安装python lxml
lxml依赖于libxml和libxlst
apt-get install libxml2 libxml2-dev
安装成功
apt-get install libxlst1 libxslt1-dev
安装失败
apt-get install python-libxml2 python-libxslt1
安装失败
运行下列命令,安装成功
apt-get install python2.6-dev
apt-get install libxml2-dev
apt-get install libxslt1-dev
easy_install lxml
另外,安装python idle
apt-get install idle