0

I know this issue has been mentioned before and there were solutions for this. One of solutions that I tried with my problem was this one but it didn't work. My problem is with importing Jinja2 template package. It seems my app finds the root package folder successfully but then it fails with finding any Jinja2 modules like these:

from jinja2.environment import Environment
from jinja2.exceptions import TemplateNotFound
from jinja2.loaders import FileSystemLoader

So I suppose that may be I need to include path_fix into some of Jinja2 modules? Though it may work I suppose it's at least a bad solution. So, how can I properly import packages?

Community
  • 1
  • 1
Sergei Basharov
  • 51,276
  • 73
  • 200
  • 335
  • This more of a jinja2 issue than it is an import one. See http://stackoverflow.com/questions/2365774/jinja2-in-google-app-engine – Dave W. Smith Oct 02 '11 at 16:51
  • Your app fails how? Include the stacktrace. How did you add jinja2 to your app? What does your app's directory heirarchy look like? – Nick Johnson Oct 04 '11 at 00:52

0 Answers0