How to Install python-lxml in Ubuntu 18.04



Install python-lxml by entering the following commands in the terminal:

sudo apt update
sudo apt install python-lxml

Description:

pythonic binding for the libxml2 and libxslt libraries

lxml is a new Python binding for libxml2 and libxslt, completely independent from existing Python bindings. Its aim: . * Pythonic API. * Documented. * Use Python unicode strings in API. * Safe (no segfaults). * No manual memory management! . lxml aims to provide a Pythonic API by following as much as possible the ElementTree API, trying to avoid inventing too many new APIs, or the user's having to learn new things -- XML is complicated enough.

Homepage: http://lxml.de/

Version: 4.2.1-1

Section: python