# Create PDF from a jupyter notebook

**URL:** <https://discourse.slicer.org/t/create-pdf-from-a-jupyter-notebook/34183>\
**Category:** Support\
**Tags:** python\
**Created:** [February 7, 2024, 8:56am UTC](https://discourse.slicer.org/t/create-pdf-from-a-jupyter-notebook/34183 "2024-02-07T08:56:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katya\_Stansfield](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/katya_stansfield/32/15103_2.png) [@Katya\_Stansfield](https://discourse.slicer.org/u/Katya_Stansfield)\
**Post date:** [February 7, 2024, 8:56am UTC](https://discourse.slicer.org/t/create-pdf-from-a-jupyter-notebook/34183/1 "2024-02-07T08:56:34Z")

</div>

Hello – is it possible to export a Jupyter Notebook that works on Slicer 5.6 python kernel to a .pdf? I struggle to do so directly in ‘jupyter notebook’ and in VScode. VScode error is

- Error: Loading C:/Users/EKATAR~1/AppData/Local/Temp/89f06fdc-02d7-475e-84af-69983be3900c/script.ipynb - load failed.
- Error: Loading C:/Users/EKATAR~1/AppData/Local/Temp - load failed.

Jupyter Notebook error is:  
nbconvert failed: PyQtWebEngine is not installed to support Qt PDF conversion. Please install `nbconvert[qtpdf]` to enable.

I ran ‘pip install nbconverter’ from the Slicer 5.6 kernel environment and got a success message, but nothing has changed.
