Monday, March 30, 2015

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



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/a6ebdfab-5cbe-42f1-b4ec-6cf12412150a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment