Closed GoogleCodeExporter closed 8 years ago
Thanks for reporting this, and I'm sorry that you're running into this issue.
What version is the stock python on 10.5.5?
Original comment by rdayal@google.com
on 19 Dec 2015 at 9:39
Original comment by rdayal@google.com
on 19 Dec 2015 at 9:39
Original comment by rdayal@google.com
on 19 Dec 2015 at 9:43
If this is Python 2.6, that might be the problem...
Original comment by rdayal@google.com
on 19 Dec 2015 at 9:44
Thanks for the quick reply.
This is OSX Yosemite (10.10.5) and the included python version is 2.7.10
Original comment by mfis...@kushview.net
on 19 Dec 2015 at 10:40
I found what the problem is. I also have the AWS command line tools. the
bin/gcloud shell script is detecting if python2 is present and using it over
/usr/bin/python. The python2 binary in my case is provided by the AWS SDK.
the gcloud script should probably inspect `/usr/bin/python --version` before
checking python2 in the if/else block ~line #72 in the script.
So, sorry for any confusion, Apple's python is all good. I would however note
this somewhere on the gcloud installation instructions page that conflicts can
and will occur if AWS cli is also installed on mac, or push a patch that
ensures usage of Apple's python when valid and running on a darwin system.
Original comment by mfis...@kushview.net
on 19 Dec 2015 at 10:57
Glad you figured it out. We'll work on the error messaging here, and add
relevant information about Python installations to our home page.
In the future, please only report issues in one location. This lets us provide
you with more focused support.
Original comment by z...@google.com
on 20 Dec 2015 at 3:03
Original issue reported on code.google.com by
mfis...@kushview.net
on 19 Dec 2015 at 8:38