在谷歌的App Engine运行博托(GAE) [英] Running Boto on Google App Engine (GAE)

查看:206
本文介绍了在谷歌的App Engine运行博托(GAE)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Python,并在希望的帮助如何在GAE Python应用程序来控制的Amazon EC2实例进口boto.ec2。我使用的PyDev / Eclipse中,并已在我的Mac安装博托,但使用简单的进口博托'不工作(我得到:无模块名为boto.ec2)。我读过博托支持在GAE上,但我一直没能找到任何地方的指令。谢谢!

I'm new to Python and was hoping for help on how to 'import boto.ec2' on a GAE Python application to control Amazon EC2 instances. I'm using PyDev/Eclipse and have installed boto on my Mac, but using simply 'import boto' does not work (I get: : No module named boto.ec2). I've read that boto is supported on GAE but I haven't been able to find instructions anywhere. Thanks!

推荐答案

这听起来像你没有复制的博托code到你的应用程序引擎的根目录下。

It sounds like you haven't copied the boto code to the root of your app engine directory.

宝途适用于GAE,但谷歌并不为您提供的code。一旦你把它复制到你的GAE目录的根目录下,开发服务器应该工作,和你的下一个上载后,将工作的督促服务器上也是如此。

Boto works with GAE but Google doesn't supply you with the code. Once you copy it into the root of your GAE directory, the dev server should work, and after your next upload it will work on the prod server as well.

这篇关于在谷歌的App Engine运行博托(GAE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆