[Community] OWSLib 0.2.0 and python 2.5.1

John Cartwright john.c.cartwright at comcast.net
Mon Aug 6 02:47:53 EEST 2007


Hello All,

I'm trying to use OWSLib 0.2.0 w/ python 2.5.1.  I had understood  
that the listed dependencies of "elementtree or lxml" did not apply  
since elementtree is part of 2.5's standard libs.  The OWSinstall  
procededed w/o error, however when I try to import the module, e.g.

"from owslib.wms import WebMapService"

I  get the following traceback:

  File "<stdin>", line 1, in <module>
   File "build/bdist.macosx-10.3-fat/egg/owslib/wms.py", line 22, in  
<module>
   File "build/bdist.macosx-10.3-fat/egg/owslib/etree.py", line 19,  
in <module>
ImportError: No module named lxml

Is the dependency really on lxml and not elementtree?  Is there  
something else I'm doing wrong?

Thanks!

--john







More information about the Community mailing list