Is it possible to use Jinja2 without installing it using easy_install or pip ? I dont have root access on my server but I would like to use Jinja2. I was wondering if I could do this:
import sys,os,cgi,cgitb
this_dir = os.path.abspath(os.path.dirname(__file__))
sys.path.append(os.path.join(this_dir, "Jinja2-2.7.3.tar.gz"))
from jinja2 import Template
template = Template('Hello {{ name }}!')
Edit: Sorry forgot to add but I did try it and I am getting an error : No module named jinja2 , I have confirmed that the path is correct.
2nd Edit: Lukas Graf's solution will probably work but just for information is it possible to do it without virtualenv?