I'm trying to loop over a list of addresses that I have (Street Name, City, State, Zipcode) in order to get longitudes and latitudes
for address in addresses:
g = geolocator.geocode(address)
print(g.address)
print((g.latitude, g.longitude))
LatLong.append((g.latitude, g.longitude))
When I run this code I receive the long and lat for the first address in the list but then get this :
AttributeError: 'NoneType' object has no attribute 'address'
Would greatly appreciate any help.