nbconvert failed: PDF creating failed, captured latex output:
This is XeTeX, Version 3.14159265-2.6-0.99999 (TeX Live 2018/W32TeX) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
! Undefined control sequence.
< > .\notebook
.tex
?
! Emergency stop.
< > .\notebook
.tex
No pages of output.
Transcript written on ?.
solution:
1, if the file path with Chinese, remove the Chinese
2, find the installation path under the PDF. Py file open
… \site-packages\nbconvert\exporters\pdf.py
#writer = Instance("nbconvert.writers.FilesWriter", args=(), kw={'build_directory': '.'})
writer = Instance("nbconvert.writers.FilesWriter", args=(), kw={'build_directory': ''})
The
and 'build_directory' : '. ' code> to
' build_directory ':' code> p>
GitHub
Read More:
- Converting PDF file to JPG image in Ubuntu
- [Fixed]Error executing Jupyter command ‘notebook’: [Errno ‘jupyter-notebook’ not found] 2
- Change Jupyter Notebook Default Directory
- On the kernel error of jupyter notebook
- Setting up a virtual environment for jupyter notebook
- Exception: jupyter command Jupiter notebook not found
- Nginx manager jupyter notebook v1.0.0 http websocket
- Jupyter notebook couldn’t find CONDA’s virtual environment
- Error importing keras in jupyter Notebook: modulenotfounderror: no module named ‘keras’ solution
- [Solved] Jupyter Notebook Error 500: Internal Server Error
- Solve the problem that “figure size 640×480 with 1 axes” does not display pictures in jupyter notebook
- Error kernel restart: restart failed was reported in the background of jupyter notebook
- How to solve the problem of creating notebook failed
- How to generate PDF by C #
- Error in compiling rmarkdown to PDF file` xxx.sty ‘ not found.
- Error converting data type nvarchar to datetime
- rmd to pdf error: pandoc document conversion failed with error 43
- Solution of error converting data type varchar to datetime in SQL Server
- The solution of PDF file unable to display thumbnail in win7
- Arithmetic overflow error converting identity to data type int