tillahoffmann / obsidian-jupyter

MIT License
438 stars 23 forks source link

Install problem with documented packages #41

Closed gwlund closed 2 years ago

gwlund commented 2 years ago

Before raising an issue Yes

Describe the bug Run test fails with the following error Traceback (most recent call last): File ".obsidian/plugins/obsidian-jupyter/obsidian-jupyter.py", line 5, in from nbconvert import HTMLExporter File "c:\Dev\726d-CNRC-Demo-Algo\Environments\obsidian-feature-docs\lib\site-packages\nbconvert__init.py", line 4, in from .exporters import * File "c:\Dev\726d-CNRC-Demo-Algo\Environments\obsidian-feature-docs\lib\site-packages\nbconvert\exporters\init.py", line 3, in from .html import HTMLExporter File "c:\Dev\726d-CNRC-Demo-Algo\Environments\obsidian-feature-docs\lib\site-packages\nbconvert\exporters\html.py", line 14, in from jinja2 import contextfilter ImportError: cannot import name 'contextfilter' from 'jinja2' (c:\Dev\726d-CNRC-Demo-Algo\Environments\obsidian-feature-docs\lib\site-packages\jinja2\init__.py)

Same bug as described here https://github.com/d2l-ai/d2l-book/issues/46

Suggest you unpin the version on nbconvert which resolved the issue for me.

Thank you for supporting this tool. Super useful.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.