title: PyXML on Ubuntu
body: <p>I just completed a fresh install of Ubuntu 10.10 and I'm trying to run some scripts that use xml and xpath.  I get an error from inside PyXML.  </p>
  
  <p>I think this is an install error.  To get this installed I did the following:</p>
  
  <pre><code>prompt&gt; sudo apt-get install python2.6-dev   # The next line wouldn't install without this.
  prompt&gt; sudo easy_install PyXML
  </code></pre>
  
  <p>-------BEGIN ERROR---------
      username@ubuntu:~/data/code$ MyScript.py</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/username/data/code/app/trunk/MyScript.py", line 17, in &lt;module&gt;
      from xml import xpath
    File "/usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux-i686.egg/_xmlplus/xpath/__init__.py", line 112, in &lt;module&gt;
      from pyxpath import ExprParserFactory
    File "/usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux-i686.egg/_xmlplus/xpath/pyxpath.py", line 59, in &lt;module&gt;
      from xml.xpath.ParsedAbbreviatedRelativeLocationPath import ParsedAbbreviatedRelativeLocationPath
    File "/usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux-i686.egg/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py", line 31
      as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
       ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>-------------END ERROR-------------------</p>
  
  <p>I'm about at my limits with PyXML.  I simply want to read an xml file and read/write data with xpath.  Is there a simpler library that will easily work out of the box?  Or any ideas on how to fix this?</p>