jupyter notebook 导出PDF报错:nbconvert failed: xelatex not found on PATH

Posted 快乐崇拜234

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jupyter notebook 导出PDF报错:nbconvert failed: xelatex not found on PATH相关的知识,希望对你有一定的参考价值。

报错内容:

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.

解决:

  • https://miktex.org/download 官网下载miktex安装包,傻瓜安装
  • 检查环境变量是否配置正确。默认配置路径:C:\\Program Files\\MiKTeX\\miktex\\bin\\x64
  • 重启Jupyter Notebook, 下载PDF:
  • 如果还是失败,重启机器吧,阿门
  • 注意下载后,会不断弹出类似下面的弹窗,一直点确定就好了(注意会有很多个,我至少10个)

done.

以上是关于jupyter notebook 导出PDF报错:nbconvert failed: xelatex not found on PATH的主要内容,如果未能解决你的问题,请参考以下文章

Jupyter Notebook导出pdf文件

markdown PDF nbconvert / Jupyter Notebook导出为PDF失败

Jupyter notebook导出包含中文的pdf

原创Java小App解决Jupyter Notebook导出PDF不显示中文

Jupyter导出PDF从入门到绝望(已解决)

Jupyter Notebook通过latex输出pdf