ben ben - 1 month ago 6x
Python Question

Google Maps with Python 3.4.1

I am trying to write a script to assign the Latitude and Longitude of a location based on the address similar to what is fantastically explained here:
The only problem is that, that code is written for Python 2.3-2.6. Does anyone know how I would update this to work with Python 3.4.1?

When I run

from googlemaps import GoogleMaps

I get the error

No module named 'googlemaps'

Thanks for your help


I've tried using Python 2to3 tool, and it worked just fine:
2to3 -w

About error No module named 'googlemaps'. You have to place into any PYTHONPATH directory. You may use local directory, or you may manually copy to site-packages folder.

Hope it helps