Getting syntax error when trying to install googlemaps module in python via pip -


i beginner in python. trying install google maps module in python getting syntax error. below error message. please help.

(gmapenv) c:\python\virtual environment\gmapenv\scripts>pip install googlemaps downloading/unpacking googlemaps   running setup.py egg_info package googlemaps     traceback (most recent call last):       file "<string>", line 16, in <module>       file "c:\python\virtual environment\gmapenv\build\googlemaps\setup.py", li ne 18, in <module>         import googlemaps       file "googlemaps\googlemaps.py", line 471         print main.__doc__                  ^     syntaxerror: invalid syntax     complete output command python setup.py egg_info:     traceback (most recent call last):    file "<string>", line 16, in <module>    file "c:\python\virtual environment\gmapenv\build\googlemaps\setup.py", line 1 8, in <module>      import googlemaps    file "googlemaps\googlemaps.py", line 471      print main.__doc__               ^  syntaxerror: invalid syntax  ---------------------------------------- command python setup.py egg_info failed error code 1 in c:\python\virtual e nvironment\gmapenv\build\googlemaps storing complete log in c:\users\vimal\pip\pip.log 

it seems tried run python2 code using python3. try reinstalling python : https://www.python.org/download/releases/2.7/


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -