I'm trying to install Google Cloud SDK for OS X from here https://cloud.google.com/sdk/docs/quickstart-mac-os-x
I unzip it and then try to run the install.sh script by doing
sh install.sh
but keep getting this error:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/bill/bin/bootstrapping/install.py': [Errno 2] No such file or directory
I tried installing and uninstalling Python and also changing which version of Python the installer uses by doing
CLOUDSDK_PYTHON=path/to/pyton2.7
, but it didn't resolve the iusse.
For me, here how I solve it.
The google-cloud-sdk folder was in /Users/MyUserName/Downloads
and I saw that I had the same command error:
can't open file '/Users/MyUserName/Downloads/bin/bootstrapping/install.py'
I saw that the "google-cloud-sdk" folder was not mentioned in the path. So I said to myself that I should try to launch the full command in the upper folder and... it worked :)
In other words:
/Users/MyUserName/Downloads
)cd /Users/MyUserName/Downloads
./google-cloud-sdk/install.sh
Hope this will help! :)
Cheers,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With