2017-10-21 15 views
3

최근에 컴퓨터에서 Python 라이브러리를 업그레이드 할 때마다 Jupyter의 파일 메뉴에서 내 노트북을 변환 할 수 없습니다. 나는 메시지가 : 여전히nbconvert --to pdf는 작동하지만 Jupyter Notebook 메뉴 (Python)에서는 지원되지 않습니다.

[NbConvertApp] Converting notebook .\cumulative chart (for ANE17 poster).ipynb to pdf 
[NbConvertApp] Support files will be in cumulative chart (for ANE17 poster)_files\ 
[NbConvertApp] Making directory .\cumulative chart (for ANE17 poster)_files 
[NbConvertApp] Making directory .\cumulative chart (for ANE17 poster)_files 
[NbConvertApp] Writing 26403 bytes to .\notebook.tex 
[NbConvertApp] Building PDF 
[NbConvertApp] Running xelatex 3 times: ['xelatex', '.\\notebook.tex'] 
[NbConvertApp] Running bibtex 1 time: ['bibtex', '.\\notebook'] 
[NbConvertApp] WARNING | b had problems, most likely because there were no citations 
[NbConvertApp] PDF successfully created 
[NbConvertApp] Writing 43091 bytes to .\cumulative chart (for ANE17 poster).pdf 

그러나, Jupyter에 무슨 일이 있었는지, 및/또는 nbconvert하고 : 나 명령 줄을 통해 변환, 실제로이 작품에 대한

500 : Internal Server Error 
The error was: 
nbconvert failed: '.\cumulative chart (for ANE17 poster).ipynb' exists but is not a directory 

는 괜찮습니다/또는 Pandoc/MiKTex 라이브러리? 입력 해 주셔서 감사합니다.

답변

1

실제로 Jupyter를 재설치 한 후에도 동일한 문제가있었습니다. this page에 따르면 최신 버전의 notebook 패키지는 5.2부터 시작되며 이후 버전에서는 수정되어야합니다.

pip install -U "notebook<5.2" 

은 적어도 나를 위해 일한 : 현재 솔루션처럼 notebook 패키지를 다운 그레이드 만 할 것이다.