For Jupyter Notebooks that have not been specially configured, we often get the following error when exporting files to PDF:
nbconvert failed: xelatex not found on PATH, if you have not installed
xelatex you may need to do so. Find further instructions at
https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex.
Reason for error: xelatex is not installed
(Note: In some cases, in addition to installing " xelatex
", you also need to install" pandoc
", but the Anaconda2-5.0.1
above version has already installed pandoc by default, then you only need to install "xelatex")
Solution:
Step 1: Download and install the "Miktex" software
Download link: https://miktex.org/download
Step 2: Add the installation path of Miktex installed in the previous step to the environment variable
Miktex installation path: F:\MiKTeX\MiKTeX\miktex\bin\x64