Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/google-app-engine/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 谷歌应用程序引擎(GAE)安装扩展的提示_Python_Google App Engine_Tipfy - Fatal编程技术网

Python 谷歌应用程序引擎(GAE)安装扩展的提示

Python 谷歌应用程序引擎(GAE)安装扩展的提示,python,google-app-engine,tipfy,Python,Google App Engine,Tipfy,我正在努力让在谷歌应用程序引擎(GAE)上工作。我正在使用Windows XP “hello world”示例运行良好。我不明白的是如何正确安装扩展 我正试图使用这个工具,但没有多大成功 我收到以下错误: ImportError: No module named wtforms.validators 我已尝试按照安装扩展,其中说明要运行: bootstrap.py--分发 返回: 下载 在d:\temp\tmp2ff61中提取 现在在 d:\temp\tmp2ff61\distribute-

我正在努力让谷歌应用程序引擎(GAE)上工作。我正在使用Windows XP

“hello world”示例运行良好。我不明白的是如何正确安装扩展

我正试图使用这个工具,但没有多大成功

我收到以下错误:

ImportError: No module named wtforms.validators
我已尝试按照安装扩展,其中说明要运行:

bootstrap.py--分发

返回:

下载

在d:\temp\tmp2ff61中提取

现在在 d:\temp\tmp2ff61\distribute-0.6.14

建造一个鸡蛋 d:\temp\tmpq4-j\u v

警告:找不到匹配的文件 “docs”目录下的“Makefile”

警告:找不到匹配的文件 目录下的“indexsidebar.html” “文件”

d:\temp\tmpq4-j_v\distribute-0.6.14-py2.5.egg

安装目录d:\temp\tmpq4-j\U v

然后我运行:

垃圾箱/建筑

并获得以下信息:

而: 初始化。 错误:无法打开D:\downloads\tipfy.0.6.3.build\project\bin\buildout.cfg

因为该文件不存在于bin目录中,我假设该目录在我运行之后应该放在那里:

bootstrap.py--分发


bootstrap
buildout
问题是由版本0.6.3 IMHO中的分发中断引起的。最好使用包装

另一个问题是缺少
wtforms
。我和你一样也有同样的问题,但是关于
gae-auth
,我想
tipfy-ext-auth
也有同样的问题。简单地说,
tipfy ext auth
已更新为使用tipfy 0.7,您正在使用0.6.3

版本0.7是开发版本,尚未向公众发布。因此,一个选择是直接从开始使用0.7。但要小心:0.7与0.6.3不兼容


另一种选择是从最新版本下载,并将它们放在
app/lib
目录下。我这样做是为了我的项目,它成功了。

您应该从buildout.cfg所在的目录运行bin/buildout,而不是从bin目录运行。 做这样的事

cd D:\downloads\tipfy.0.6.3.build\project
start bin/buildout

只是一个简短的提示,因为我刚刚遇到了这个问题:tipfy.ext.wtforms只是wtforms的包装,而不是wtforms本身,因此扩展名在distlib/tipfy/ext/中,wtforms在lib中/