[XML-sig] Error returned in installing PyXML-0.8.4

Arc Riley arcriley at gmail.com
Fri Jun 26 20:11:43 CEST 2015


Hey Jay

PyXML is bitrotten and obsolete. You'll find the functionality it
previously provided is now included in the Python standard library;

https://docs.python.org/library/xml.html

There are also more robust XML packages available to install;
https://pypi.python.org/pypi/lxml
https://pypi.python.org/pypi/NodeTree

lxml is more mature, nodetree (my own) is faster but still a bit young.


On Fri, Jun 26, 2015 at 11:04 AM, James Kanuch <James.Kanuch at perficient.com>
wrote:

>   Hi, hoping if you can help me with this…. I’m trying to instal
> PyXML-0.8.4, and when I execute the install python setup.py install
> command, as it is performing the install it is returning what appear to be
> 2 syntax errors:
>
>  byte-compiling
> /usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
> to ParsedAbbreviatedAbsoluteLocationPath.pyc
>   File
> "/usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py",
> line 27
>     as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
>      ^
> SyntaxError: invalid syntax
>
>  byte-compiling
> /usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py
> to ParsedAbbreviatedRelativeLocationPath.pyc
>   File
> "/usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py",
> line 31
>     as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
>      ^
> SyntaxError: invalid syntax
>
>    The identifying “^” symbols seem to have migrated as I was
> copy-pasting these into my email; in the received error statement they are
> aligned with the closing “)” on the “as=ParsedAxis….” line.
>
>
>  Thanks for any help you can provide!
>
> Thanks,
> Jay
>
> *Jay Kanuch*, Senior Solutions Architect
> o: 248-464-1288  m: 248-464-1288 | NASDAQ: PRFT |* Perficient.com
> <http://www.perficient.com/>*
>
>  <http://www.perficient.com/>
>
>
>
>  <https://www.linkedin.com/company/165444>
> <https://twitter.com/perficient>    <http://blogs.perficient.com/>
> <https://www.facebook.com/perficient>
> <https://www.youtube.com/channel/UCRUC3AbkGIH4Wud_PgKovug/>
>
>
> _______________________________________________
> xml-sig mailing list
> xml-sig at python.org
> https://mail.python.org/mailman/listinfo/xml-sig
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/243002c2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F3164116-0E3B-491D-9F90-14E1F8EBB225.png
Type: image/png
Size: 1759 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/243002c2/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9E90380C-0F6F-499C-A0BD-C9C6A7230C24.png
Type: image/png
Size: 1895 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/243002c2/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: A0EE7BB5-C0C7-4ADE-B1E3-176D0A2D0A1B.png
Type: image/png
Size: 1770 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/243002c2/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DF56563F-877A-4F13-A245-F8C0C2B55CC2.png
Type: image/png
Size: 1893 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/243002c2/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03129411-06AD-4E2C-8493-147D2AE9A2C1.png
Type: image/png
Size: 1840 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/243002c2/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7DFBD825-A909-45EA-B286-0DA3CADE27F9.png
Type: image/png
Size: 11039 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/243002c2/attachment-0011.png>


More information about the xml-sig mailing list