Michał Szydłowski
Michał Szydłowski

Reputation: 3409

Python Google APIs

I have just installed the Google APIs for Python, and yet, I tried to run anything to check if it works, like:

from googlemaps import GoogleMaps

And it throws:

Traceback (most recent call last):
  File "C:/Users/mszydlowski/Desktop/test.py", line 1, in <module>
    from googlemaps import GoogleMaps
  File "C:\Python33\lib\site-packages\googlemaps.py", line 471
    print main.__doc__
         ^
SyntaxError: invalid syntax

Any ideas?

Upvotes: 0

Views: 158

Answers (2)

Paul Mitchell
Paul Mitchell

Reputation: 3281

What version of Python are you using? print is a function for Python 3.

Upvotes: 1

Cassum
Cassum

Reputation: 329

I think the problem is that googlemaps does not support py3k. http://py-googlemaps.sourceforge.net/#information

Upvotes: 1

Related Questions