# Unable to download as jupyter notebook to pdf

**URL:** https://discourse.jupyter.org/t/unable-to-download-as-jupyter-notebook-to-pdf/8177
**Category:** General
**Tags:** how-to, help-wanted, jupyterhub
**Created:** [March 3, 2021, 5:10am UTC](https://discourse.jupyter.org/t/unable-to-download-as-jupyter-notebook-to-pdf/8177 "2021-03-03T05:10:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Anuj\_Shrestha](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/anuj_shrestha/32/3869_2.png) [@Anuj\_Shrestha](https://discourse.jupyter.org/u/Anuj_Shrestha)
#### Post date: [March 3, 2021, 5:10am UTC](https://discourse.jupyter.org/t/unable-to-download-as-jupyter-notebook-to-pdf/8177/1 "2021-03-03T05:10:46Z")

</div>

Hello I am very new to python and jupyter as a whole. So while trying to download my my notebook as PDF the following error occurs. Please help me

nbconvert failed: PDF creating failed, captured latex output:  
Failed to run “xelatex notebook.tex -quiet” command:  
C:\Users\Anuj Makaju\AppData\Local\Programs\MiKTeX\tex/latex\tcolorbox\tcolorbo  
x.sty:1241: Undefined control sequence  
C:\Users\Anuj Makaju\AppData\Local\Programs\MiKTeX\tex/latex\tcolorbox\tcolorbo  
x.sty:1263: Undefined control sequence  
Sorry, but C:\Users\AnujMakaju\anaconda3\Library\miktex\texmfs\install\miktex\bin\xelatex.exe did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:/Users/Anuj Makaju/AppData/Local/MiKTeX/2.9/miktex/log/xelatex.log

You may want to visit the MiKTeX project page, if you need help.

---

<div class="post-metadata">

### Author: ![1kastner](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1kastner/32/1537_2.png) [@1kastner](https://discourse.jupyter.org/u/1kastner)
#### Post date: [March 4, 2021, 9:50am UTC](https://discourse.jupyter.org/t/unable-to-download-as-jupyter-notebook-to-pdf/8177/2 "2021-03-04T09:50:20Z")

</div>

How did you install MiKTeX? Is it up-to-date?
