Jupyter notebook Anaconda/Jupyter笔记本/500:内部服务器错误/windows 10/python3

Jupyter notebook Anaconda/Jupyter笔记本/500:内部服务器错误/windows 10/python3,jupyter-notebook,anaconda3,Jupyter Notebook,Anaconda3,我正在使用python和R学习数据科学,在我的第一门课程中,我下载了python3、R和Rstudio,在当前课程中,我正在学习使用jupyter和下载anaconda来处理jupyter笔记本。当我试图将.ipyth文件转换为PDF时,我遇到了以下错误消息 nbconvert failed: PDF creating failed, captured latex output: Failed to run "xelatex .\notebook.tex -quiet" command: Thi

我正在使用python和R学习数据科学,在我的第一门课程中,我下载了python3、R和Rstudio,在当前课程中,我正在学习使用jupyter和下载anaconda来处理jupyter笔记本。当我试图将.ipyth文件转换为PDF时,我遇到了以下错误消息

nbconvert failed: PDF creating failed, captured latex output:
Failed to run "xelatex .\notebook.tex -quiet" command:
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
! Undefined control sequence.
<*> .\notebook
              .tex -quiet
? 
! Emergency stop.
<*> .\notebook
              .tex -quiet
No pages of output.
Transcript written on ?.
nbconvert失败:PDF创建失败,捕获的latex输出:
无法运行“xelatex.\notebook.tex-quiet”命令:
这是XeTeX,版本3.14159265-2.6-0.99992(TeX Live 2020/W32TeX)(预加载格式=xelatex)
受限\已启用写18。
进入扩展模式
! 未定义的控制序列。
笔记本
.tex-安静
? 
! 紧急停止。
笔记本
.tex-安静
没有输出页面。
笔录写在?。

感谢您的支持,考虑到我是编程新手

不幸的是,nbconvert中的LaTeX几乎没有维护——LaTeX转换是一个复杂的庞然大物,没有人为了所有的边缘情况和构建工具更改而让它超时工作

在6.0版本中,有一个新的webpdf转换,使用chromium生成PDF文件,它在与web渲染的一致性(以及一个新的可选依赖性)方面牺牲了Xeletex/pandoc的一些灵活性

(来源:GitHub)

维护人员正试图为最终版本的alpha for 6.0解决最后一个问题。我们中没有多少人有足够的空闲时间来做贡献

顺便说一句,对我有效的方法是首先将.ipynb文件下载为“.Tex”文件,然后将该.Tex文件转换为.pdf文件