Jinja install for python

Viewed 51071

I don't use Python regularly, but now I have to. I should run a python sctipt that need Jinja. Python2.7 is installed on my Windows XP and works, but I can't find how to install inja package.

Would anybody be so kind to write me a step by step install guide for it?

I have to run this only once to create some outputs for me, so I don't want tp ddep dive into it, so pls. forgive me if it is a very beginner level question.

Thx

3 Answers

I needed to install jinja2 as a dependency for Ansible and didn't want to use pip or pip3. Installing python-jinja2 package did the trick:

apt install python-jinja2
Related