[Solved] cannot import name contextfilter from jinja2

As of this writing (24/5/2022), Jupyter notebook triggered an error when I open an .ipynb.  

cannot import name 'contextfilter' from 'jinja2'

But it is ok if I just list all the files in jupyter.

Open the same .ipynb in JupyterLab is OK.  But I want to use Notebook.

Here is what I did

- Update Jupyter Notebook to 6.4.11

- Update nbconvert to 6.4.4
- Update nbclient to 0.5.13

I did it in Anaconda Navigator 3.  Here is the screenshot:



Hope it helps someone.




Comments

Popular posts from this blog

TCPDF How to show/display Chinese Character?

How to fix fancy box/Easy Fancybox scroll not work in mobile

Wordpress Load balancing: 2 web servers 1 MySQL without any Cloud services