I recently installed Python 3.5 64-bit on Windows 7. Now while trying to install Google Cloud SDK I am getting following error:
Output folder: C:\Program Files (x86)\Google\Cloud SDK
Downloading Google Cloud SDK core.
Extracting Google Cloud SDK core.
Create Google Cloud SDK bat file: C:\Program Files (x86)\Google\Cloud SDK\cloud_env.bat
Installing components.
Welcome to the Google Cloud SDK!
File "C:\Python\Lib\site.py", line 176
file=sys.stderr)
^
SyntaxError: invalid syntax
File "C:\Python\Lib\site.py", line 176
file=sys.stderr)
^
SyntaxError: invalid syntax
Failed to install.
I haven't modified any of the Python Lib files.
I don't think the Google Cloud SDK can run on Python 3 (the system requirements state that Python 2.7.x is required).
There is a 'bundled python' option in the windows GUI installer if you need to quickly install a Python 2.7 just for these tools.
Note that it is only the CLI tools that require Python 2.7. The python API libraries google-api-python-client and gcloud-python will work with python 3.5. So depending on what you are doing, you can still use Python 3 in your projects.
I don't think the Google Cloud SDK can run on Python 3 (the system requirements state that Python 2.7.x is required).
There is a 'bundled python' option in step 5 of the windows GUI installer (after you choose the installation path) if you need to quickly install a Python 2.7 just for these tools.
]
Note that it is only the CLI tools that require Python 2.7. The python API libraries google-api-python-client [1] and gcloud-python [2] will work with python 3.5. So depending on what you are doing, you can still use Python 3 in your projects.
[1] From the google-api-python-client README.md
Python 3.3+ is also now supported! However, this library has not yet been used as thoroughly with Python 3, so we'd recommend testing before deploying with Python 3 in production.
[2] Listed under Python 3 categories on PyPi