Google Cloud SDK won't install on Mac OS X 10.14.3

392 views
Skip to first unread message

Cj Magnuson

unread,
Feb 19, 2019, 9:41:52 AM2/19/19
to Google Cloud Developers

I'm getting this error on Mac OS X (latest OS as of today 10.14.3) when I try to install the Google Cloud SDK. What could be the problem?

Thanks for any leads.


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

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   443    0   443    0     0    607      0 --:--:-- --:--:-- --:--:--   607

Downloading Google Cloud SDK install script: https://dl.google.com/dl/cloudsdk/channels/rapid/install_google_cloud_sdk.bash

######################################################################## 100.0%

Running install script from: /var/folders/2m/_sbsb5xs7cj85ncgxkf9vhcc0000gn/T/tmp.XXXXXXXXXX.W9six0Qw/install_google_cloud_sdk.bash

which curl

curl -# -f https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.tar.gz

######################################################################## 100.0%


Installation directory (this will create a google-cloud-sdk subdirectory) (/Users/chrism): /Users/chrism/Development/GCP

mkdir -p /Users/chrism/Development/GCP

"/Users/chrism/Development/GCP/google-cloud-sdk" already exists and may contain out of date files.

Remove it before installing? (y/N): y

rm -rf /Users/chrism/Development/GCP/google-cloud-sdk

tar -C /Users/chrism/Development/GCP -zxvf /var/folders/2m/_sbsb5xs7cj85ncgxkf9vhcc0000gn/T/tmp.XXXXXXXXXX.HqYfRDbo/google-cloud-sdk.tar.gz

x google-cloud-sdk/

x google-cloud-sdk/lib/

x google-cloud-sdk/lib/third_party/

x google-cloud-sdk/lib/third_party/apitools/

x google-cloud-sdk/lib/third_party/apitools/base/

x google-cloud-sdk/lib/third_party/apitools/base/py/

x google-cloud-sdk/lib/third_party/apitools/base/py/__init__.py


<snip>


x google-cloud-sdk/.install/

x google-cloud-sdk/.install/gcloud-deps.snapshot.json

x google-cloud-sdk/.install/gcloud-deps.manifest

x google-cloud-sdk/.install/core.snapshot.json

x google-cloud-sdk/.install/core.manifest

x google-cloud-sdk/.install/.download/


/Users/chrism/Development/GCP/google-cloud-sdk/install.sh

Welcome to the Google Cloud SDK!

Failed checking if argv[0] is an import path entry

ValueError: character U+6573552f is not in range [U+0000; U+10ffff]

Fatal Python error: no mem for sys.argv

ValueError: character U+6573552f is not in range [U+0000; U+10ffff]


Current thread 0x0000000119e005c0 (most recent call first):

/Users/chrism/Development/GCP/google-cloud-sdk/install.sh: line 147: 39043 Abort trap: 6           "$CLOUDSDK_PYTHON" $CLOUDSDK_PYTHON_ARGS "${CLOUDSDK_ROOT_DIR}/bin/bootstrapping/install.py" "$@"

George (Cloud Platform Support)

unread,
Feb 28, 2019, 1:47:56 PM2/28/19
to Google Cloud Developers
What version of Python do you have installed? What is the output of the "python -V" command? Cloud SDK needs Python 2. 

Do any of your directory names contain non-ASCII characters? 

If you would like to have your issue investigated in depth, you are encouraged to open a similar issue in the Public Issue Tracker. This forum meant for general discussion on the platform and its services. 
Reply all
Reply to author
Forward
0 new messages