Re: easy_install, PyXML and the ZSI module
"P.J. Eby" <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> Thu, 16 Dec 2010 21:24:38 -0500
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <[email protected]> |
At 02:22 PM 12/16/2010 -0700, Erik Johnson wrote: >I am having some issues in trying to use packages installed via >easy_install (on Mac OSX, 10.6) . The two packages are PyXML and ZSI. I am >trying to create a simple SOAP Client, but I get up to a certain point and the >ZSI module pukes out this: > >Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "HelloService_services.py", line 49, in sayHello > response = self.binding.Receive(sayHelloResponse.typecode) > File "build/bdist.macosx-10.6-universal/egg/ZSI/client.py", line >497, in Receive > File "build/bdist.macosx-10.6-universal/egg/ZSI/client.py", line >397, in ReceiveSOAP > File "build/bdist.macosx-10.6-universal/egg/ZSI/parse.py", line 54, >in __init__ >ImportError: No module named ext.reader > > >The root of that problem seems to be this: > >usi-3759l:python ej$ python >Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) >[GCC 4.2.1 (Apple Inc. build 5646)] on darwin >Type "help", "copyright", "credits" or "license" for more information. > >>> import xml > >>> import xml.dom > >>> import xml.dom.ext >Traceback (most recent call last): > File "<stdin>", line 1, in <module> >ImportError: No module named ext > >As best as I can tell, PyXML 0.8.4 got installed: Does PyXML 0.8.4 declare at least 'xml' and 'xml.dom' as namespace packages?