Problem after pip install #3848
Replies: 3 comments
-
Iβve merged a fix to the To get rid of the warning, you can just |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks a lot.
Lars
β¦On Sun, May 18, 2025 at 02:39:46AM -0700, Chris Warrick wrote:
Iβve merged a fix to the `master` branch.
To get rid of the warning, you can just `pip install jinja2`.
--
Reply to this email directly or view it on GitHub:
#3848 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I get also the following error when running `nikola build`:
DependencyError - taskid:render_posts:cache/pages/index.html
ERROR: Task 'render_posts:cache/pages/index.html' saving success: Dependent file
'/home/lrs/tmp/venv/lib64/python3.12/site-packages/nikola/data/themes/base/temp
lates/post_list_directive.tmpl' does not exist.
########################################
render_posts:cache/pages/index.html <stdout>:
How can I solve this?
Thanks,
Lars
β¦On Sun, May 18, 2025 at 02:39:46AM -0700, Chris Warrick wrote:
Iβve merged a fix to the `master` branch.
To get rid of the warning, you can just `pip install jinja2`.
--
Reply to this email directly or view it on GitHub:
#3848 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for the new version of Nikola. I made a new virtualenv and did pip install nikola. When doing nikola --version, I get the following warning:
[2025-05-18 07:02:24] ERROR: PluginManager: Plugin jinja from /home/lrs/tmp/venv/lib64/python3.12/site-packages/nikola/plugins/template/jinja.plugin (/home/lrs/tmp/venv/lib64/python3.12/site-packages/nikola/plugins/template/jinja.py) threw an exception while loading
Traceback (most recent call last):
File "/home/lrs/tmp/venv/lib64/python3.12/site-packages/nikola/plugin_manager.py", line 196, in load_plugins
spec.loader.exec_module(module_object)
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "/home/lrs/tmp/venv/lib64/python3.12/site-packages/nikola/plugins/template/jinja.py", line 45, in
class JinjaTemplates(TemplateSystem):
File "/home/lrs/tmp/venv/lib64/python3.12/site-packages/nikola/plugins/template/jinja.py", line 66, in JinjaTemplates
def set_user_engine_factory(self, factory: Callable[..., jinja2.Environment]) -> None:
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'Environment'
[2025-05-18 07:02:24] WARNING: PluginManager: Some plugins failed to load. Please review the above warning messages.
[2025-05-18 07:02:24] WARNING: PluginManager: You may need to update some plugins (from plugins.getnikola.com) or to fix their .plugin files.
[2025-05-18 07:02:24] WARNING: PluginManager: Waiting 2 seconds before continuing.
Nikola v8.3.3
I tried both with Python3.12 and my current version 3.13. How do I solve the problem?
Thanks,
Lars
Beta Was this translation helpful? Give feedback.
All reactions