Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 617
  • Last Modified:

Cannot install lxml on ubuntu

I am trying to install lxml on ubuntu 10.10 and it just won't work.  This is very confusing and it seems more difficult than it needs to be.  Any insight.  What am I doing wrong here?




trys.txt
0
tmonteit
Asked:
tmonteit
  • 2
2 Solutions
 
Pieter JordaanCommented:
Hi

The Ubuntu package manager does that sometimes, and I hate it because of that.

You may have to:
apt-get remove libxml2
apt-get purge libxml2
apt-get update
apt-get install libxml2

If that doesn't work, do the same with python.
0
 
Pieter JordaanCommented:
There is another package that seems to be the "working" one.

apt-get remove libxml2
apt-get install libxml2-dev
0
 
kivan24Commented:
sudo apt-get install python-setuptools
sudo easy_install nose

sudo apt-get install libxslt-dev
sudo apt-get install python-dev
sudo easy_install lxml

Open in new window

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now