# Eporting PDF from VS Code

**URL:** <https://discourse.jupyter.org/t/eporting-pdf-from-vs-code/6871>\
**Category:** nbconvert\
**Created:** [November 23, 2020, 4:15am UTC](https://discourse.jupyter.org/t/eporting-pdf-from-vs-code/6871 "2020-11-23T04:15:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brett\_knoss](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/brett_knoss/32/2903_2.png) [@brett\_knoss](https://discourse.jupyter.org/u/brett_knoss)\
**Post date:** [November 23, 2020, 4:15am UTC](https://discourse.jupyter.org/t/eporting-pdf-from-vs-code/6871/1 "2020-11-23T04:15:19Z")

</div>

When I try to export a file from Jupyter in VS Code, it fails, and I get several messages.

```auto
Error 2020-11-22 22:09:53: Export failed [Error: Importing notebooks requires Jupyter nbconvert to be installed.
	at u.getExportInterpreter (c:\Users\Brett\.vscode\extensions\ms-toolsai.jupyter-2020.11.372831992\out\client\extension.js:32:528426)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:94:5)
	at async _.export (c:\Users\Brett\.vscode\extensions\ms-toolsai.jupyter-2020.11.372831992\out\client\extension.js:49:256389)
	at async m.export (c:\Users\Brett\.vscode\extensions\ms-toolsai.jupyter-2020.11.372831992\out\client\extension.js:32:256898)]
Error 2020-11-22 22:09:53: If you have not installed xelatex (TeX) you will need to do so before you can export to PDF, for further instructions go to https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex. 
To avoid installing xelatex (TeX) you might want to try exporting to HTML and using your browsers "Print to PDF" feature.

```

I think the error about nbconvert not being installed is the most relevant, but when I tried installing nbconvert in conda, it said that conda was already installed. I’m not sure what went wrong, I’d think that the ability to export would already be installed.

---

<div class="post-metadata">

**Author:** ![JhianSV](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jhiansv/32/5626_2.png) [@JhianSV](https://discourse.jupyter.org/u/JhianSV)\
**Post date:** [November 3, 2021, 2:44pm UTC](https://discourse.jupyter.org/t/eporting-pdf-from-vs-code/6871/2 "2021-11-03T14:44:58Z")

</div>

Did you find a solution?

---

<div class="post-metadata">

**Author:** ![SamKelson](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/samkelson/32/5645_2.png) [@SamKelson](https://discourse.jupyter.org/u/SamKelson)\
**Post date:** [November 7, 2021, 2:50am UTC](https://discourse.jupyter.org/t/eporting-pdf-from-vs-code/6871/3 "2021-11-07T02:50:21Z")

</div>

Make sure that you have some sort of LaTeX processor (not sure if processor is the right word) installed. I would highly recommend Tex Live but another good one is MikTex.
