Errors
jupyter notebook(주피터노트북) PDF로 저장할 때 생기는 에러
koos808
2020. 9. 29. 10:54
728x90
반응형
※ 방법 1 : MikTex 설치
- 쥬피터노트북 download as pdf 할때 생기는 아래 에러에 대한 해결 방법입니다.
-
에러명
500 : Internal Server Error The error was: nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so. Find further instructions at https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex.
- 해결방법
- 아래 링크 접속 후 windows버전(Mac 유저는 Mac용) MikTex 설치하기
- 쥬피터노트북 껐다 키기
- 끝!
https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex
Installation — nbconvert 6.0.5 documentation
The Miniconda and Miniforge distributions both provide a minimal conda installation. Important To unlock its full capabilities, nbconvert requires Pandoc, TeX (specifically, XeLaTeX) and Pyppeteer. These must be installed separately.
nbconvert.readthedocs.io
※ 방법 2 : HTML 저장 후 pdf 출력
설치하기시 싫은 분은 아래와 같이 하시면 됩니다.
File - Download as - PDF via LaTex(.pdf) 로 저장하니 error가 나서 잘안되더라구요.
해결책
1. File - Download as - HTML(.html) : HTML(.html)로 저장하기
2. 저장한 HTML(.html) 파일열어서 ctrl+p(인쇄)에서 pdf로 저장하기 선택
728x90
반응형