Sunday, March 29, 2015

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

Hello Simon,
 
Did you install jinja2 in your python environment (I assumed /www/pbs-venv was a virtualenv)?

No, Jinja2 is integrated into Django 1.8c1.

https://docs.djangoproject.com/en/dev/releases/1.8/

- I am using pyvenv which is integrated into Python, not the virtualenv pypi package.
pbs-venv was created this way:
./Python-3.4.3/python ./Python-3.4.3/Tools/scripts/pyvenv pbs-venv
 

What does /www/pbs-venv/bin/pip --freeze outputs?

www$ pip --freeze
Usage:  
  pip <command> [options]
no such option: --freeze

Thanks

--
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/b837928f-7d7e-475a-8e6e-fd13efe63df2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment