I recently installed lxml
.
Before that, I had to install all the dependencies for that.
So I tried to install liblxml2-dev
, liblxslt1-dev
and python-dev
(google-searched for what packages are required for lxml
)
but even after that, I could not able to install lxml
by using the command
pip install lxml
.
However as because I am using Python 3.4.0, I thought that may be there are different version of python-dev
(thought came due to facing some similar version conflict problem). So I tried to install python3-dev
.
Then I tried to install lxml
using the same command said earlier and that worked!!!
I google-searched for those sentences
and I could able to understand the meaning of lxml
and xslt
. I found a link for python-dev
but I am not still sure what it is actually doing.
OS - Ubuntu
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…