Monday, March 30, 2015

Re: Jinja2 with Django 1.8c1 & cannot import name 'Environment'

You're welcome Rolf.

Your question lead an initiative by Tim to clarify Jinja2 needs to be installed.

Cheers,
Simon

Le lundi 30 mars 2015 19:47:46 UTC-4, Rolf Brudeseth a écrit :


Django 1.8+ adds built-in support but doesn't ship with Jinja2, the same way it has built-in support for PostgreSQL but doesn't ship the psycopg2 package.

You must install it in your environment just like you did with the Django package.


Thanks Simon. Installing Jinja2 fixed my issue.

Rolf

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3ecd8f5c-299d-4938-a932-bc0f6b8d7a02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment