gana2188 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

Error During Installation: SyntaxError in bin/bootstrapping/install.py", line 71 #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Install using the curl command:

curl https://sdk.cloud.google.com | bash

I'm using zsh-5.0.5, bash-4.2_p47, and python-3.3.5.

What is the expected output? What do you see instead?

I expect the installation to finish successfully but get a syntax error in the 
install script instead.

What is the output of 'gcloud version'?

Command not found (installation has not finished yet).

Please provide any additional information below.

Original issue reported on code.google.com by alund...@gmail.com on 7 Jun 2014 at 3:50

GoogleCodeExporter commented 9 years ago
I was having the same issue and the SDK doesn't support python-3.3.5. It only 
supports Python 2.7. Once I installed 2.7, closed cmd.exe and started over 
again it worked fine.

Original comment by kgrif...@gmail.com on 9 Jun 2014 at 1:16

GoogleCodeExporter commented 9 years ago
That makes sense.  When will the SDK support python-3?  How can I help move 
this project to python-3?

Original comment by alund...@gmail.com on 11 Jun 2014 at 12:21

GoogleCodeExporter commented 9 years ago
My problem is that the default for the python variable is python3 (in linux). I 
do have python 2.7 available but it needs to be declare as python2. The 
installation script should be smart enough about this.

Original comment by acolor...@gmail.com on 28 Oct 2014 at 3:36

GoogleCodeExporter commented 9 years ago
As a workaround, you can set the CLOUDSDK_PYTHON environment variable to the 
path of the python binary you would like to use.

Original comment by markp...@google.com on 28 Oct 2014 at 3:41

GoogleCodeExporter commented 9 years ago
Set and export CLOUDSDK_PYTHON to point to a python2.7 and that's what the 
Cloud SDK will use.

Original comment by jasm...@gmail.com on 28 Oct 2014 at 3:41