Google App Engine的PyDev项目未找到w​​ebapp2 [英] PyDev project for Google App Engine not finding webapp2

查看:97
本文介绍了Google App Engine的PyDev项目未找到w​​ebapp2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用python试用Google App Engine。熟悉Eclipse,我决定使用PyDev。经过一些麻烦,我有一个你好世界的程序工作...几乎。它找不到webapp2导入,告诉我它是未解决的。我已经遵循了我可以找到的所有说明,并将google应用引擎库链接起来 - 我想。我已经搜索到webapp2作为潜在的导入,并且找不到任何地方的任何库文件。我真的很喜欢python,甚至更新到Google App Engine,所以我确信这是一个简单的问题,由于我的新奇性而加剧。



我在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项目未找到w​​ebapp2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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