pythongoogle-app-enginetipfy

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 documentation didn't mention any such problems.

Thank you :)


Solution

  • 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.