0

I want to install python-xml package on ubuntu. I see this command for installing it:

sudo apt-get install python-xml

but

$ sudo apt-get install python-xmlReading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python-xml

Should I add repository to fix it?

2 Answers2

1

There is no python-xml package in the repository. What made you decide you need a package with that specific name? Are you looking for python-lxml instead? This is the common Python XML library that I believe most people use.

Robie Basak
  • 15,910
1

You are trying to install the pyhrf project which depends of PyXML, but PyXML is dead, and wont work on Python 2.6 or newer. I would recommend to look for another project similar to pyhrf.

Braiam
  • 69,112