[IronPython] from xml import xpath

Greg Lee glee at pharsight.com
Wed May 17 00:16:48 CEST 2006


I'm porting an application that uses PyXML.  The following from the PyXml documentation http://pyxml.sourceforge.net/topics/howto/section-XPath.html doesn't work:

from xml import xpath
Traceback (most recent call last):
  File , line 0, in input##113
ImportError: cannot import xpath from xml

Any suggestions?  I messed around with adding site-packages to IRONPYTHONPATH but other BadThings happened.

Here's the installation:

Microsoft Windows XP [Version 5.1.2600]
IronPython 1.0.60420 (Beta) on .NET 2.0.50727.42

python 2.4.2
pyxml 0.8.4
pywin32 205
py2exe 0.6.3

IRONPYTHONPATH = c:\python24\lib

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060516/0fff6602/attachment.html>


More information about the Ironpython-users mailing list