lxml is a python library used for processing XML and HTML.In this post we will learn, how to install lxml by using pip command.
We will use pip to install lxml on Ubuntu 14.04 LTS.
It is important to install dependency prior using pip command to install lxml
Install the dependencies.
sudo apt-get install libxml2-dev libxslt1-dev python-dev
Install pip in your system. Read about how to install pip
Now we will use pip command to install lxml library .
pip install lxml