eclipse OSX 上的 Google App Engine SDK 路径在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3030585/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 14:49:39  来源:igfitidea点击:

Where is the Google App Engine SDK path on OSX?

pythoneclipsegoogle-app-enginepydev

提问by Curyous

I need to know for creating a Pydev Google App Engine Project in Eclipse.

我需要知道在 Eclipse 中创建 Pydev Google App Engine 项目。

回答by Curyous

/usr/local/google_appengine- that's a symlink that links to the SDK.

/usr/local/google_appengine- 这是一个链接到 SDK 的符号链接。

回答by meckdahl

/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine

/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine

回答by Burhan Shakir

For MAC OS

对于 MAC 操作系统

Instead of installing from the cloud.google website, install the sdk with brew

不要从 cloud.google 网站安装,而是使用 brew 安装 sdk

brew cask install google-cloud-sdk

After that install the python componenents :

之后安装 python 组件:

gcloud components install app-engine-python

In pycharm set the path to :

在 pycharm 中将路径设置为:

/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/platform/google_appengine

This might be different for different users but make sure to select the google_appengine from the platform folder and it should work like a charm

对于不同的用户,这可能会有所不同,但请确保从平台文件夹中选择 google_appengine,它应该像魅力一样工作