Hello *,
although I run
pip install jinja2.ext
I got the error below. What am I doing wrong?
- t3ss
$ make
./inc/update-messages
Using languages en ar fr it es de zh_Hant hi ja ko pt
Updating message catalog
extracting messages from common/base.j2 (trim_blocks="True",
lstrip_blocks="True", encoding="utf-8")
Traceback (most recent call last):
File "/usr/bin/pybabel", line 11, in <module>
load_entry_point('Babel==2.6.0', 'console_scripts', 'pybabel')()
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py",
line 911, in main
return CommandLineInterface().run(sys.argv)
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py",
line 835, in run
return cmdinst.run()
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py",
line 470, in run
for filename, lineno, message, comments, context in extracted:
File "/usr/lib/python2.7/dist-packages/babel/messages/extract.py",
line 157, in extract_from_dir
dirpath=absname,
File "/usr/lib/python2.7/dist-packages/babel/messages/extract.py",
line 212, in check_and_call_extract_file
strip_comment_tags=strip_comment_tags
File "/usr/lib/python2.7/dist-packages/babel/messages/extract.py",
line 241, in extract_from_file
strip_comment_tags))
File "/usr/lib/python2.7/dist-packages/babel/messages/extract.py",
line 294, in extract
func = getattr(__import__(module, {}, {}, [attrname]), attrname)
File "/home/t3sserakt/Dokumente/www/inc/sitegen/i18nfix.py", line 16,
in <module>
import jinja2.ext
ImportError: No module named jinja2.ext