Nbconvert 7.4.4 not working with latest TLJH python version?

I recently updated TLJH to the latest stable release and am now experiencing a nbconvert issue almost exactly detailed in this issue. Looks like nbconvert 7.4.4 may not work with the version of Python in TLJH according to its docs.

conda list nbconvert

# packages in environment at /opt/tljh/user:
# Name                    Version                   Build  Channel
nbconvert                 7.7.4              pyhd8ed1ab_0    conda-forge
nbconvert-core            7.7.4              pyhd8ed1ab_0    conda-forge
nbconvert-pandoc          7.7.4              pyhd8ed1ab_0    conda-forge
python3 --version
Python 3.10.10

What are the chances that nbconvert will support this version of Python in the near future? And is there any other way to export to PDF via a user-friendly GUI?

nbconvert does support Python 3.10, the docs had fallen out of date a bit.

What do you see in the server logs for the failed request?

It may be that tex is missing and following the nbconvert instal instructions would solve the problem:

sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic

Thanks for following up, @minrk. I had ensured that the tex, pandoc etc was installed before posting. I was able to get the export options back by using pip uninstall jupyter_contrib_nbextensions from the user environment.

1 Like