TurboGears 2中的repose.who-friendlyform依赖

时间:2013-12-20 19:41:17

标签: turbogears2

我正在尝试安装TurboGear 2.我按照本文档中给出的步骤操作。链接:http://toscawidgets.org/documentation/tw2.core/turbogears.html

执行此命令时

pip install -e .

我收到了这个错误

No distributions at all found for repose.who-friendlyform>=1.0.4 (from example==0.1dev)

然后使用此命令

python setup.py develop

我收到了这个错误

Searching for repose.who-friendlyform>=1.0.4
Reading https://pypi.python.org/simple/repose.who-friendlyform/
Couldn't find index page for 'repose.who-friendlyform' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for repose.who-friendlyform>=1.0.4
error: Could not find suitable distribution for Requirement.parse('repose.who-friendlyform>=1.0.4')

我尝试使用easy_install安装它,但它没有用。我怎样才能克服这个错误?

1 个答案:

答案 0 :(得分:0)

您指向的文档已经过时了,您试图使用哪种TurboGears版本?最新的TG版本不再依赖repoze.who-friendlyform了。尝试删除virtualenv,重新创建它,然后使用pip install tg.devtools安装TurboGears。

您可以在http://turbogears.readthedocs.org/en/latest/#installing-turbogears上找到最新的TG版本文档,其中包含有关在http://turbogears.readthedocs.org/en/latest/cookbook/TwForms.html使用ToscaWidgets的教程

最新的ToscaWidgets文档已移至http://tw2core.readthedocs.org/en/latest/

如果您想尝试使用TG2和Forms,还可以使用一堆可运行的游戏:http://runnable.com/TurboGears

相关问题