Jupyter notebook jupyter nbconvert命令在';下载为';菜单命令导致错误“;在路径“上找不到Xeletex”;

Jupyter notebook jupyter nbconvert命令在';下载为';菜单命令导致错误“;在路径“上找不到Xeletex”;,jupyter-notebook,Jupyter Notebook,我正在macOS上使用jupyter笔记本电脑 我已经安装了MacTeX,并使用命令成功地将笔记本转换为pdf jupyter nbconvert test.ipynb --to pdf 当我使用“下载为”菜单命令时,我遇到了这个错误 nbconvert失败:在路径上找不到xelatex,如果尚未安装xelatex,则可能需要安装xelatex。有关更多说明,请访问 我错过了什么

我正在macOS上使用jupyter笔记本电脑

我已经安装了MacTeX,并使用命令成功地将笔记本转换为pdf

jupyter nbconvert test.ipynb --to pdf
当我使用“下载为”菜单命令时,我遇到了这个错误

nbconvert失败:在路径上找不到xelatex,如果尚未安装xelatex,则可能需要安装xelatex。有关更多说明,请访问

我错过了什么