Solved

Cannot install lxml on ubuntu

Posted on 2011-02-22
3
597 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

This article will show the steps for installing Python on Ubuntu Operating System. I have created a virtual machine with Ubuntu Operating system 8.10 and this installing process also works with upgraded version of Ubuntu OS. For installing Py…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

786 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