nbconvert
nbconvert copied to clipboard
Convert to HTML with command run in jupyter cell uses old version of the notebook
Hi, I am trying to convert an notebook to HTML via running the convert command inside a cell. When I first run the command, it works properly but when I run the command a second time after I run a cell or changed something in the notebook, the exported file will contain the content of the first version of the notebook.
conda create -n bug python=3
pip install "jupyterlab==2.2.9"
pip install "jupyter-contrib-nbextensions==0.5.1"
pip install "nbconvert==6.0.7"
Then run in the Notebook a cell that prints something and a cell with:
!jupyter nbconvert ./Untitled.ipynb --no-input --to html --output test.html
You will se a properly converted html file. Then run again with a different cell output und you will see the first version. I also tried creating a second converted html file but it stil contains the first output.
Nbconvert version: 6.0.7
I have the same issue. Did you resolve?