tillahoffmann / obsidian-jupyter

MIT License
437 stars 23 forks source link

AttributeError: module 'jinja2.utils' has no attribute 'escape' #38

Closed aidan-gibson closed 2 years ago

aidan-gibson commented 2 years ago

This is an issue with nbconvert https://github.com/jupyter/nbconvert/issues/1736

dclimber commented 2 years ago

@aidan-gibson here's my workaround:

  1. Installed recommended package versions:
jupyter==1.0.0
jupyter-client==7.0.2
jupyter-console==6.4.0
jupyter-core==4.7.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.1
nbclient==0.5.4
nbconvert==6.1.0
nbformat==5.1.3
notebook=6.4.3
  1. Activated virtual environment into which I installed them.
  2. pip uninstall jinja2
  3. pip install jinja2==3.0.3

Works now.

aidan-gibson commented 2 years ago

Thank you!

aidan-gibson commented 2 years ago

I'll just leave this open for now until nbconvert fixes the issue, so others can see.

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.