Closed GoogleCodeExporter closed 9 years ago
I got it figured out. Google cloud sdk now requires python 2.7. I nice
message indicating that is indeed the problem would be nice.
Original comment by brett.sp...@gmail.com
on 14 Oct 2014 at 8:43
Original comment by rdayal@google.com
on 14 Oct 2014 at 11:09
Will having python 2.7 be a hard requirement going forward, or will
compatibility with 2.6 remain (or meant to be improved)?
(Looking at this, I'm not quite sure, even though the bug was specific to
gcutil -
https://code.google.com/p/google-cloud-sdk/issues/detail?id=15&can=1&q=2.6)
Original comment by moo...@gmail.com
on 14 Oct 2014 at 11:34
We're aiming to improve Python 2.6 compatibility.
Original comment by rdayal@google.com
on 14 Oct 2014 at 11:35
Hey, guys, the work around I used is similar to what was done in the link
above. I installed python 2.7 on my centOS 6.5 instance in GCE and set
CLOUDSDK_PYTHON=python2.7 variable in my scripts that use gcloud commands.
This seems to be working for the time being.
Original comment by brett.sp...@gmail.com
on 15 Oct 2014 at 12:07
Thanks for the confirmation for Python 2.6 compatibility. :)
It ultimately just saves me from having to install 2.7 in CentOS 6.x and just
being able to use 2.6 that comes stock with it.
Original comment by moo...@gmail.com
on 15 Oct 2014 at 1:00
FYI, this bug can possibly be closed now, as doing a "gcloud compute instances
list" is working fine now with the latest version of the SDK (seems it was
fixed a few releases back). It's at least working fine on my end, still with
CentOS 6.5 and Python 2.6.6.
Original comment by moo...@gmail.com
on 5 Nov 2014 at 10:21
Original comment by rdayal@google.com
on 10 Nov 2014 at 4:23
Original issue reported on code.google.com by
brett.sp...@gmail.com
on 13 Oct 2014 at 7:48