当我尝试将jupyter笔记本下载为pdf时,出现“ 500:Internal Server Error”和以下错误消息。有人知道这个问题可能是什么吗?我已经安装了nbconvert,pandoc和miktex。我正在使用python 3.6在Windows 10机器上工作。
错误:
nbconvert failed: PDF creating failed, captured latex output:
xelatex: warning: running with administrator privileges
This is XeTeX, Version 3.14159265-2.6-0.99999 (MiKTeX 2.9.6730)
entering extended mode
(notebook.tex
LaTeX2e <2018-04-01> patch level 5
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\base\article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\base\size11.clo))
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\base\fontenc.sty
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\base\t1enc.def)
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\lm\t1lmr.fd))
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\psnfss\mathpazo.sty)
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\graphics\graphicx.sty
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\graphics\keyval.sty)
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\graphics\graphics.sty
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\graphics\trig.sty)
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\graphics-cfg\graphics.cfg)
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\graphics-def\xetex.def)))
(C:\Users\username\AppData\Roaming\MiKTeX\2.9\tex\latex\caption\caption.sty
(C:\Users\username\AppData\Roaming\MiKTeX\2.9\tex\latex\caption\caption3.sty))
(C:\Users\username\AppData\Roaming\MiKTeX\2.9\tex\latex\adjustbox\adjustbox.sty
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\lat
ex\xkeyval\xkeyval.sty
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\gen
eric\xkeyval\xkeyval.tex
(C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\tex\gen
eric\xkeyval\xkvutils.tex)))
(C:\Users\username\AppData\Roaming\MiKTeX\2.9\tex\latex\adjustbox\adjcalc.sty)
(C:\Users\username\AppData\Roaming\MiKTeX\2.9\tex\latex\adjustbox\trimclip.sty
(C:\Users\username\AppData\Roaming\MiKTeX\2.9\tex\latex\collectbox\collectbox.st
y)
(C:\Users\username\AppData\Roaming\MiKTeX\2.9\tex\latex\adjustbox\tc-xetex.def))
(C:\Users\username\AppData\Roaming\MiKTeX\2.9\tex\latex\ifoddpage\ifoddpage.sty)
======================================================================
Sorry, but C:\Users\username\AppDataPython\envs\py36\Library\miktex\texmfs\install\miktex\bin\xelatex.exe did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/username/AppData/Local/MiKTeX/2.9/miktex/log/xelatex.log
You may want to visit the MiKTeX project page, if you need help.