I am trying to include notebook in sphinx documentation. I installed nbsphinx.
But when I do make html, the following error appears
make html Running Sphinx v5.3.0
Extension error: Could not import extension nbsphinx (exception: cannot import name 'ensure_async' from 'jupyter_core.utils' (C:\Users\xxxx\anaconda3\envs\xxxx\lib\site-packages\jupyter_core\utils\__init__.py))
Suggestions on how to fix this will be really helpful.