我正在尝试获取 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/