Ever since I started using pip and python on Ubuntu, I have always had certain packages that would be silent about what dependencies they require in order to work, and only when they fail to install, is when you figure that out. I was just installing another virtual environment just now, and decided that I should probably put up a post of any such packages that I come across.
So lets begin with the one that had me searching for its dependencies just now, which would be lxml==3.3.3.
Here is the apt command with all the packages that I had to install.
sudo apt-get install libxml2 libxslt1.1 libxml2-dev libxslt1-dev python-libxml2 python-libxslt1 python-dev python-setuptools zlib1g-dev
Hope this helps!!!
P.S. This article is more like a reminder to self of the dependencies so that I do not need to go searching for them again…coming up next is psycopg2