Google App Engine的PyDev项目未找到webapp2 [英] PyDev project for Google App Engine not finding webapp2
问题描述
我在OS-X上运行,运行Eclipse Indigo Service Release 1.我有最新版本的PyDev可以在星期二晚上下载。
在首选项中,查看 PyDev>解释器 - Python
(或任何您使用的),并确保webapp2列在库选项卡的系统库下。如果没有,请通过单击右侧的新建文件夹添加它,然后单击应用,然后等待它重新查找您的功能。
请注意,webapp2不是部分的默认库,并且必须单独安装。 此处是要下载的链接。
I am attempting to try out Google App Engine with python. Being familiar with Eclipse, I decided to use PyDev. After some trouble, I have a hello world program working... almost. It cannot find the webapp2 import, telling me it is unresolved. I have followed all of the instructions I can find, and have the google app engine libraries linked up - I think. I have searched for webapp2 as a potential import, and cannot find this anywhere in any of the library files. I am really new to python in general, and even newer to the Google App Engine, so I am certain that this is a simple problem that is exacerbated by my newness.
I am running on OS-X, running Eclipse Indigo Service Release 1. I have the latest version of PyDev available for download as of Tuesday evening.
In Preferences, look under PyDev > Interpreter - Python
(or whichever you're using), and make sure that webapp2 is listed under the Libraries tab's System libs. If it's not, add it by clicking New Folder on the right, then click apply and wait for it to re-look up your functions.
Note that webapp2 is not part of the default libraries, and must be installed separately. Here is a link to download it.
这篇关于Google App Engine的PyDev项目未找到webapp2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!