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

James Kanuch James.Kanuch at perficient.com
Fri Jun 26 20:14:34 CEST 2015


Well, that is interesting.  I’m following installation instructions from IBM for a software package with it’s latest release being June 3, 2015, and they are calling specifically for it….

I’ll see about the other packages you list and check with them to see if they can work.

Thanks a bunch for the quick response!

Jay Kanuch, Senior Solutions Architect
o: 248-464-1288  m: 248-464-1288 | NASDAQ: PRFT | Perficient.com<http://www.perficient.com/>



From: Arc Riley
Date: Friday, June 26, 2015 at 2:11 PM
To: Python XML Special Interest Group, Jay Kanuch
Subject: Re: [XML-sig] Error returned in installing PyXML-0.8.4

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<mailto: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<tel:248-464-1288>  m: 248-464-1288<tel:248-464-1288> | NASDAQ: PRFT | Perficient.com<http://www.perficient.com/>
[cid:C5956956-C9AB-496A-94F3-218439CB8619]<http://www.perficient.com/>

[cid:D69B69B2-3A0B-4959-AD00-43CAD7D3C753]<https://www.linkedin.com/company/165444>    [cid:0189E042-018B-4622-8CBA-9E2C6E10F22D] <https://twitter.com/perficient>    [cid:40E2952F-F5C9-4473-9B5A-197E6ED92A45] <http://blogs.perficient.com/>     [cid:4FF5E978-BB46-4ECF-B4BF-AA50DE9FC42F] <https://www.facebook.com/perficient>     [cid:1CD3D749-8E6B-468C-9351-6CE1D98CA4C2] <https://www.youtube.com/channel/UCRUC3AbkGIH4Wud_PgKovug/>


_______________________________________________
xml-sig mailing list
xml-sig at python.org<mailto: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/64ea1522/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: F3164116-0E3B-491D-9F90-14E1F8EBB225.png
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/64ea1522/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: 9E90380C-0F6F-499C-A0BD-C9C6A7230C24.png
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/64ea1522/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: A0EE7BB5-C0C7-4ADE-B1E3-176D0A2D0A1B.png
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/64ea1522/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: DF56563F-877A-4F13-A245-F8C0C2B55CC2.png
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/64ea1522/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: 03129411-06AD-4E2C-8493-147D2AE9A2C1.png
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/64ea1522/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: 7DFBD825-A909-45EA-B286-0DA3CADE27F9.png
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20150626/64ea1522/attachment-0011.png>


More information about the xml-sig mailing list