How can I uninstall google-cloud-sdk ?

爱⌒轻易说出口 提交于 2020-01-06 19:51:09

问题


I tried deleted Google Cloud AppEngine SDK from macbook, but I'm getting this

Last login: Thu Aug 11 14:12:18 on ttys002
-bash: /Users/Squirrel/Desktop/google-cloud-sdk/path.bash.inc: No such file or directory
-bash: /Users/Squirrel/Desktop/google-cloud-sdk/completion.bash.inc: No such file or directory 

Whenever I open a new terminal window. Is there a way I can stop that from happening?


回答1:


Converting the comment to an anwer...

Some SDK installations may modify system or user profiles to include proper setup of the SDK environment.

First thing to check, if the user didn't log out from the system since the uninstall, is if the errors are not just side effects of the current user session which already picked up the SDK environment. Logging out and back in should take care of such cases.

If the errors messages persist after logging out/in indicates that the removal of the installation did not clean up the system or user profiles modified at SDK installation, manual cleanup being required.

In your case the errors come from bash, so the files to check are either /etc/bash* or ~/.bash* - look for /Users/Squirrel/Desktop/google-cloud-sdk - the now-removed SDK installation path mentioned in the messages.



来源:https://stackoverflow.com/questions/38903433/how-can-i-uninstall-google-cloud-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!