for without special configuration of Jupyter, when we export files as PDF often appear the following error:
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.
error cause: xelatex
is not installed
(note: in some cases, pandoc needs to be installed in addition to “xelatex”, but since pandoc is installed by default in anaconda2-5.0.1 and above, you only need to install “xelatex”)
solution:
Step 1: download and install “Miktex” software
download address: https://miktex.org/download
step 2: add the installation path of the Miktex installed in the previous step to the environment variable
Miktex installation path: C:\Program Files\ Miktex \ Miktex \bin\x64
step 3: restart Jupyter Notebook, open any “ipynb” file and click “Download as” – “PDF via LaTeX(.pdf)”
step 4: next, N (indeed N) packages will pop up. Click “Install” to Install each package until the menu no longer pops up
step 5: click Download as again – “PDF via LaTeX(.pdf)” to export the PDF file in the Download item of the current browser.
Read More:
- nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so
- How to Fix nbconvert failed: Pandoc wasn’t found. Please check that pandoc is installed:
- How to Fix Pandoc wasn’t found.pdflatex not found on PATH
- zookeeper Failed to Startup: Error: JAVA_HOME is not set and java could not be found in PATH
- eclipse cdt Program “make” not found in PATH
- ””Device not found” error causes and Solutions
- Project with path ‘XXXX’ could not be found
- Executable file not found in $path bug solution
- HTTP error 404.8 – not found, the request filtering module is configured to reject the path in the URL containing the hiddensegment section
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- Failed to load vmmr0.r0 (Verr_ SUPLIB_ PATH_ NOT_ CLEAN).
- IntelliJ idea error: package not found or symbol not found
- sys.path.append(), os.path.exists(), os.path.join() and os.makedirs() meaning
- Configuration: error: no acceptable C compiler found in $path
- [solved] – bash: rabbitmq plugins: command not found or RA bbitmqctl:command not found
- Incomplete and “the Jupiter” distribution was not found
- configure: error: no acceptable C compiler found in $PATH
- Error: no acceptable C compiler found in $path
- Finally solved the importError: DLLload failed: the specified module could not be found when import matplotlib.pyplot
- OpenCV3.1 + Python2.7 error “DLL load failed: The specified module could not be found”