from googlemaps import GoogleMaps,GoogleMapsError
gmaps = GoogleMaps()
address = "5555 Car Country Drive Carlsbad CA 92008"
result = gmaps.geocode(address)
回溯(最后一次调用):文件“/home/yogesh/workspace/Simple/maps_error.py”,第 10 行,结果 = gmaps.geocode(address) 文件“/usr/local/lib/python2.6/dist -packages/googlemaps.py",第 262 行,在地理编码中引发 GoogleMapsError(status_code, url, response) googlemaps.GoogleMapsError:错误 602:G_GEO_UNKNOWN_ADDRESS