0

我使用了最新版本的 GAE。我尝试通过这篇帮助文章安装 Pylons v1.0:http: //countergram.com/pylons-google-app-engine

Paster serve --reload development.ini 工作正常

Apache2+wsgi 工作正常

但是:dev_appserver.py pylons 我收到了错误消息:

INFO:root:Starting admin server at: [Link to localhost:8000 ERROR] 2013-07-11 11:55:07,816 cgi.py:121] Traceback(最近一次调用最后):文件“/home/evgeny/PycharmProjects/ pylons/app.py”,第 41 行,在 run_wsgi_app(loadapp('config:development.ini', relative_to=appdir)) 文件“lib/python2.7/site-packages/paste/deploy/loadwsgi.py”中,行247,在 loadapp ret*emphasized text*urn loadobj(APP, uri, name=name, **kw) 文件“lib/python2.7/site-packages/paste/deploy/loadwsgi.py”,第 271 行,在 loadobj global_conf=global_conf) 文件“lib/python2.7/site-packages/paste/deploy/loadwsgi.py”,第 296 行,在 loadcontext global_conf=global_conf) 文件“lib/python2.7/site-packages/paste/deploy/ loadwsgi.py”,第 320 行,在 _loadconfig 返回 loader.get_context(object_type, name,global_conf)文件“lib/python2.7/site-packages/paste/deploy/loadwsgi.py”,第 454 行,在 get_context 部分)文件“lib/python2.7/site-packages/paste/deploy/loadwsgi.py” ,第 476 行,在 _context_from_use object_type,name=use,global_conf=global_conf)文件“lib/python2.7/site-packages/paste/deploy/loadwsgi.py”,第 406 行,在 get_context global_conf=global_conf)文件“lib/ python2.7/site-packages/paste/deploy/loadwsgi.py”,第 296 行,在 loadcontext global_conf=global_conf) 文件“lib/python2.7/site-packages/paste/deploy/loadwsgi.py”,第 328 行,在 _loadegg 返回 loader.get_context(object_type, name, global_conf) 文件“lib/python2.7/site-packages/paste/deploy/loadwsgi.py”,第 620 行,在 get_context object_type, name=name) 文件“lib/python2 .7/site-packages/paste/deploy/loadwsgi.py”,第 646 行,在 find_egg_entry_point possible.append((entry.load(), protocol, entry.name)) 文件“lib/python2.7/site-packages/分发-0.6.19-py2.7.egg/pkg_resources.py",第 1991 行,在加载项 =import (self.module_name, globals(),globals(), [' name ']) 文件“project/project/config/middleware.py”,第 9 行,从 routes.middleware 导入 RoutesMiddleware 文件“lib/python2.7 /site-packages/routes/ init .py”,第 140 行,从 routes.mapper 导入 Mapper 文件“lib/python2.7/site-packages/routes/mapper.py”,第 7 行,从 repoze.lru 导入LRUCache ImportError:没有名为 repoze.lru 的模块

4

1 回答 1

0

这是一个非常简单的决定。
在 virtualenv 路径:

touch lib/python2.7/site-packages/repoze/__init__.py
于 2013-07-13T19:47:34.010 回答