gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Website


From: Florian Dold
Subject: Re: Building Website
Date: Tue, 27 Jul 2021 14:55:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

Hi t3ss,

Is the pip you're invoking pip2 or pip3? Maybe you're installing the package for Python2, when the Website builder is using Python3. Could you post the output of "pip --version"?

- Florian

On 7/27/21 2:15 PM, t3sserakt wrote:
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]