开发者

Python/Tipfy/Jinja2: ImportError: No module named ext.jinja2

Aloha,

having some spare time and trying out python on app engine as it is much more flexible than java, I wanted to use Tipfy as my webapp framework.

My problem ist, that, whenever I try to import something like jinja2, I get:

from tipfy.ext.jinja2 import render_response
ImportError: No module named ext.jinja2

I ensured that under lib/dist there is the jinja2 folder.

Other stuff like Session doesn't work either :(

Any help to a noob? Their IRC chat wasn't a help and the documentat开发者_开发知识库ion didn't mention any such problems.

Thank you :)


In the newest tipfy version (1.0b1), the jinja2 extension is now bundled with tipfy.

from tipfyext import jinja2

Are you using that version? I'm sorry because the documentation is outdated and doesn't reflect this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜