Jinja为python安装 [英] Jinja install for python

查看:143
本文介绍了Jinja为python安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不经常使用Python,但是现在我必须使用.我应该运行需要Jinja的python sctipt. Python2.7已安装在Windows XP上并且可以运行,但是找不到安装inja软件包的方法.

有人愿意为我写一个逐步安装指南吗?

我只需要运行一次就可以为我创建一些输出,所以我不希望tp ddep潜入其中,所以.如果这是一个初学者水平的问题,请原谅我.

Thx

解决方案

看看.您可以使用 setuptools 与Windows上的Python捆绑在一起

希望这会有所帮助

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

解决方案

have a look at this. You can use setuptools or pip to install jinja. Just enter those command into a DOS prompt

easy_install Jinja2

or

pip install Jinja2

You should have easy_install.exe bundled with your python on windows

Hope this helps

这篇关于Jinja为python安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆