Closed ChillarAnand closed 2 years ago
Is it possible that nikola was installed in a virtualenv or something like that which doesn't have jinja2 installed?
Initially I thought the same but after quick verification, it doesn't seem to be the case.
@ChillarAnand Does the same thing occur when you run python -m nikola
? Can you import jinja2
in the python
REPL?
(Also, we recommend using virtual environments.)
As shown in the above screenshot, Jinja==2.1.1 got installed somehow. It is unsupported. Upgrading Jinja2 fixed the issue.
Thanks, @Kwpolska, @ralsina
Environment
Python Version: 3.8
Nikola Version: 8.2.2
Operating System: MacOS
Description:
Unable to use Jinja based themes as Nikola is not able to find Jinja.