找不到 Google App Engine Remote_api 脚本

发布于 2024-12-29 09:19:34 字数 619 浏览 2 评论 0原文

我正在本地设置remote_api,但这次它不起作用。我只是按照 python 的 remote_api 文档页面上的说明进行操作:http://code .google.com/appengine/articles/remote_api.html

这基本上意味着我正在从项目应用程序根目录(包含 app.yaml)运行以下命令

>> python $GAE_SDK_ROOT/remote_api_shell.py -s your_app_id.appspot.com
>> /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/remote_api_shell.py': [Errno 2] No such file or directory

your_app_id 参数正在更改为实际应用程序 ID谷歌的。

这可能是一件简单的事情,但不确定它是什么。

I'm setting up remote_api locally and this time around it's not working. I'm just following the instructions on the remote_api doc page for python here: http://code.google.com/appengine/articles/remote_api.html

Which basically means I'm running the following command from the project app root (that contains app.yaml)

>> python $GAE_SDK_ROOT/remote_api_shell.py -s your_app_id.appspot.com
>> /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/remote_api_shell.py': [Errno 2] No such file or directory

The your_app_id param is being changed to the actual app id on google's.

It's probably a simple thing, but not sure what it is.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

榆西 2025-01-05 09:19:34

您需要将 $GAE_SDK_ROOT 替换为您的 GAE SDK 的实际根目录。所以,可能:

python ~/google_appengine/remote_api_shell.py -s ...

You need to replace $GAE_SDK_ROOT with the actual root directory of your GAE SDK. So, probably:

python ~/google_appengine/remote_api_shell.py -s ...
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文