【파이썬 에러 대처】 jupyter notebook 500 : Internal Server Error

2018/12/1

jupyter notebook을 시작하려고 하면 다음과 같은 500: Internal Server Error가 발생했습니다.

내 경우에는 nbconvert 때문이었습니다. anaconda prompt에서 업데이트하여 해결되었습니다.

conda update nbconvert

web에서 조사해 보면, 그 밖에도 마찬가지로 아래의 커멘드를 anaconda prompt로부터 입력해 해결하고 있던 분도 있었습니다.

  • sudo pip uninstall Jinja2
  • conda install -c conda-forge pandoc

Jinja는 문서 작성 라이브러리, pandoc는 jupyter notebook에서 Tex, PDF를 작성할 때 필요한 라이브러리입니다.아무래도 PDF 계열의 라이브러리가 문제인 것 같습니다.