?
Solved

Cannot install lxml on ubuntu

Posted on 2011-02-22
3
Medium Priority
?
610 Views
Last Modified: 2012-05-11
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
Comment
Question by:tmonteit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Pieter Jordaan
ID: 34958397
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
 
LVL 11

Accepted Solution

by:
Pieter Jordaan earned 1000 total points
ID: 34958405
There is another package that seems to be the "working" one.

apt-get remove libxml2
apt-get install libxml2-dev
0
 
LVL 8

Assisted Solution

by:kivan24
kivan24 earned 1000 total points
ID: 34958537
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

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month9 days, 4 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question