# Nbconvert 7.4.4 not working with latest TLJH python version?

**URL:** <https://discourse.jupyter.org/t/nbconvert-7-4-4-not-working-with-latest-tljh-python-version/21118>\
**Category:** The Littlest JupyterHub\
**Tags:** help-wanted, nbconvert\
**Created:** [August 27, 2023, 9:24pm UTC](https://discourse.jupyter.org/t/nbconvert-7-4-4-not-working-with-latest-tljh-python-version/21118 "2023-08-27T21:24:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrdnbradford](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jrdnbradford/32/18030_2.png) [@jrdnbradford](https://discourse.jupyter.org/u/jrdnbradford)\
**Post date:** [August 27, 2023, 9:24pm UTC](https://discourse.jupyter.org/t/nbconvert-7-4-4-not-working-with-latest-tljh-python-version/21118/1 "2023-08-27T21:24:51Z")

</div>

I recently updated `TLJH` to the latest stable release and am now experiencing a `nbconvert` issue almost exactly detailed in [this issue](https://github.com/jupyterlab/jupyterlab-desktop/issues/465). Looks like `nbconvert` `7.4.4` may not work with the version of Python in TLJH according to its [docs](https://nbconvert.readthedocs.io/en/latest/install.html#supported-python-versions).

```bash
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

```

```bash
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?

---

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [August 28, 2023, 7:36am UTC](https://discourse.jupyter.org/t/nbconvert-7-4-4-not-working-with-latest-tljh-python-version/21118/2 "2023-08-28T07:36:19Z")

</div>

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](https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex) would solve the problem:

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

```

---

<div class="post-metadata">

**Author:** ![jrdnbradford](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jrdnbradford/32/18030_2.png) [@jrdnbradford](https://discourse.jupyter.org/u/jrdnbradford)\
**Post date:** [August 28, 2023, 1:23pm UTC](https://discourse.jupyter.org/t/nbconvert-7-4-4-not-working-with-latest-tljh-python-version/21118/3 "2023-08-28T13:23:09Z")

</div>

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.
