Solved

Cannot install lxml on ubuntu

Posted on 2011-02-22
3
595 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
  • 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 250 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 250 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using SSH Through A Bastion Host Transparently (Is the topic) 1 45
nagios 1 22
How to generate a random directed graph 5 35
Coding C# in Linux 8 33
Article by: Swadhin
Introduction of Lists in Python: There are six built-in types of sequences. Lists and tuples are the most common one. In this article we will see how to use Lists in python and how we can utilize it while doing our own program. In general we can al…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now