Jinja2
- https://jinja.palletsprojects.com/en/2.11.x/
- https://pypi.org/project/Jinja2/
- i https://code-maven.com/minimal-example-generating-html-with-python-jinja
- Простой пример
Install
pip3 install Jinja2
... Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1
На сервере, где установлено окружение (напр. python3.7), необходимо добавить опцию --user
:
which pip3.7
/usr/local/bin/pip3.7
pip3.7 install Jinja2
... Could not install packages due to an EnvironmentError: [Errno 13] Permission denied... Consider using the `--user` option or check the permissions.
pip3.7 install --user Jinja2
... Installing collected packages: MarkupSafe, Jinja2 Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1