我正试图把我的jupyter笔记本转换成pdf格式,这样我就可以提交它了,但我很难做到这一点。我首先安装了nbconvert和pypandoc,然后在他们的网站上下载了pandoc zip文件夹(安装程序不工作),并将其放在我的路径中。我最初是得到这个信息的
nbconvert failed: Pandoc wasn't found. Please check that pandoc is installed: http://pandoc.org/installing.html
但通过这些步骤就解决了这个问题。我现在得到以下信息。我通过打印预览、保存html页面,然后将html页面转换为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 ?.
我解决了这个问题
相关问题 更多 >
编程相关推荐