ERROR: gcloud crashed (WindowsError): [Error 3] The system cannot find the path specified: u'W:\\'

1/2/2020

I am using the Google Cloud SDK shell. When typing the following command:

gcloud container clusters get-credentials test-cluster

I get the following error:

ERROR: gcloud crashed (WindowsError): [Error 3] The system cannot find the path specified: u'W:\\'

I am unsure why this is happening. This command should just configure kubectl to use the cluster I already created called "test-cluster", but it is trying to looking to a drive W:, which I know does not exist.

-- Adriano Matos
gcloud
google-kubernetes-engine

1 Answer

1/28/2020

I had a similar issue: ERROR: gcloud crashed (WindowsError): [Error 3] The system cannot find the path specified: u'Z:\'

No sure why, but what worked for me was running CMD as Administrator

-- Damian Wolan
Source: StackOverflow