python - tipfy on Google App Engine (GAE) 安装扩展

标签 python google-app-engine tipfy

我正在尝试获取 tipfy 致力于 Google App Engine (GAE)。我使用的是 Windows XP

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

我正在尝试使用 "multi-auth" example没有太大的成功。

我收到以下错误:

ImportError: No module named wtforms.validators

我已尝试根据 documentation 安装扩展程序,它说要运行:

bootstrap.py --distribute

哪个返回:

Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz

Extracting in d:\temp\tmp2frf61

Now working in d:\temp\tmp2frf61\distribute-0.6.14

Building a Distribute egg in d:\temp\tmpq4-j_v

warning: no files found matching 'Makefile' under directory 'docs'

warning: no files found matching 'indexsidebar.html' under directory 'docs'

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

install_dir d:\temp\tmpq4-j_v

然后我运行:

bin/buildout

并得到以下内容:

While: Initializing. Error: Couldn't open D:\downloads\tipfy.0.6.3.build\project\bin\buildout.cfg

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

bootstrap.py --distribute

最佳答案

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

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

关于python - tipfy on Google App Engine (GAE) 安装扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3684493/

相关文章:

python - 查找并替换 numpy ndarray 中的特定值?

Python:使用win32打开Excel文件

python - 使用 pyocr(tesseract) 在网格上检测字母

java - 什么语言(Java 或 Python)+ 中型 Web 项目的框架?

python - 如何在谷歌应用程序引擎中使用python发送电子邮件

python appengine授权或授权

python - 谷歌应用引擎上的 webapp、tipfy 或 django

python - 当类从内置列表继承时

java - AppEngine 开发服务器的数据查看器

python - 在我的 python 项目上使用自定义包