Hi

I am facing issues while importing "lxml" module through STAX.

lxml package is installed at location "C:\Python26\Lib\site-packages\lxml".

In my stax.xml I am importing this module by appending syspath. Here is how
I am trying to import etree under lxml. "etree.pyd" file is present under
lxml folder.

**************
<script>
                import sys
                sys.path.append ("C:\\Python26\\Lib\\site-packages\\lxml")

                from lxml import etree
</script>
***************

At this point it is throwing me an error "ImportError: cannot import name
etree"

Regard's
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to