Google API on OS X

Discussion in 'Google API' started by geoiss2004, Sep 22, 2006.

  1. #1
    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,
     
    geoiss2004, Sep 22, 2006 IP