[Tutor] Newbie question: Google API on OS X

Clay Shirky clay@shirky.com
Mon Jul 28 22:45:02 2003


I'm trying to run a Google API query in Python, on an OSX machine, using
python 2.2

Mark Pilgrim's google module fails with an error

  File "./SOAP.py", line 2790, in _parseSOAP
    parser = xml.sax.make_parser()
  File "/BinaryCache/python/python-3.root~193/
     usr/lib/python2.2/xml/sax/__init__.py", line 93, in make_parser
  xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

Attempting to update SOAP.py to 0.10.2, via 'python setup.py install' fails
with the error

  File "SOAPpy/wstools/XMLSchema.py", line 14, in ?
    from xml.dom.ext import SplitQName
  ImportError: No module named ext

Is the Mac python 2.2 non-standard? Do I need an additional xml module? Or
is there another way to run the Google API?

Thanks,

-clay