jupyter / nbconvert

Jupyter Notebook Conversion
https://nbconvert.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.72k stars 563 forks source link

"nbconvert failed: xelatex not found on PATH" #2170

Open NoreenFatima6700 opened 1 month ago

NoreenFatima6700 commented 1 month ago

Try downloading MikTex from this link: https://miktex.en.lo4d.com/windows#google_vignette

takluyver commented 1 month ago

I've no idea about lo4d.com, but where possible I'd always look for a download link on a project's own site, rather than a big download site. For MikTex, that appears to be https://miktex.org/download .

nbconvert --to pdf works by converting to latex first and calling latex. So it does require some variant of latex installed. You can also try --to webpdf or --to qtpdf, which use different ways to create PDFs - but both also use extra, non-Python components.