Hello Kieran, It sounds like you have installed 2 instances of the Cloud SDK. One scoped to only your user while the other one (/usr/local/) is scoped to the local machine. You should pick one of them and make sure all paths point to it while deleting the other version. Of course re-installing <https://cloud.google.com/sdk/docs/quickstarts> the Cloud SDK is always an option.
On Saturday, August 12, 2017 at 5:34:28 PM UTC-4, Kieran Whittemore wrote: > > Not long ago I got the latest version of the AppEngine SDK using: > > go get google.golang.org/appengine > > The Google Cloud documentation was recently updated, and apparently I > should now use: > > gcloud components install app-engine-go > > After doing the above, I'm seeing 2 directories: > > /usr/local/google-cloud-sdk > /Users/kieran/google-cloud-sdk > > The first contains the AppEngine SDK files, the second does not. > > In the PATH I'm seeing: > > # The next line updates PATH for the Google Cloud SDK. > if [ -f ‘/Users/kieran/google-cloud-sdk/path.bash.inc' ]; then source > '/Users/kieran/google-cloud-sdk/path.bash.inc'; fi > > # The next line enables shell command completion for gcloud. > if [ -f '/Users/kieran/google-cloud-sdk/completion.bash.inc' ]; then > source '/Users/kieran/google-cloud-sdk/completion.bash.inc'; fi > > Why is the gcloud installer adding a reference in the PATH to the > google-cloud-sdk that does not contain the AppEngine SDK ? > > How do I reference the AppEngine SDK that was downloaded by the glcoud > installer? With 2 different SDK paths I'm totally confused about which one > to use, and even how to reference it in code as it doesn't appear to be in > the PATH. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c57fe392-c3a8-47f1-ae6f-6a87882598f1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
