estou tentanto executar o seguinte exemplo:
python3.3(ubuntu13)
from geopy import geocoders
g = geocoders.GoogleV3()
place, (lat, lng) = g.geocode("10900 Euclid Ave in Cleveland")
print ("%s: %.5f, %.5f" % (place, lat, lng))
estou tentanto usar o geopy.py com python3 estou tendo o seguinte erro:
Traceback (most recent call last):
File "testegeopy.py", line 3, in <module>
place, (lat, lng) = g.geocode("10900 Euclid Ave in Cleveland")
File "/usr/local/lib/python3.3/dist-packages/geopy-0.95.1-py3.3.egg/geopy/geocoders/googlev3.py", line 135, in geocode
return self.geocode_url(url, exactly_one)
File "/usr/local/lib/python3.3/dist-packages/geopy-0.95.1-py3.3.egg/geopy/geocoders/googlev3.py", line 91, in geocode_url
return self.parse_json(page, exactly_one)
File "/usr/local/lib/python3.3/dist-packages/geopy-0.95.1-py3.3.egg/geopy/geocoders/googlev3.py", line 175, in parse_json
check_status(self.doc.get('status'))
File "/usr/local/lib/python3.3/dist-packages/geopy-0.95.1-py3.3.egg/geopy/geocoders/googlev3.py", line 197, in check_status
'The geocode was successful but returned no results. This may'
geopy.geocoders.googlev3.GQueryError: The geocode was successful but returned no results. This may occur if the geocode was passed a non-existent address or a latlng in a remote location.
--
John Evan Dizaro - Desenvolvimento de Sistema Computacionais
Linux, MSWindows e MAC
Celular (41) 9243-3240