[Python error handling] jupyter notebook 500: Internal Server Error

2018/12/1

When I try to start jupyter notebook, I get the following 500: Internal Server Error.

In my case it was due to nbconvert. It was solved by updating from anaconda prompt.

conda update nbconvert

When I looked it up on the web, there were other people who solved it by entering the following command from the anaconda prompt as well.

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

Jinja is a library for creating documents, and pandoc is a library required for creating Tex and PDF with jupyter notebook.Apparently the PDF library is the problem.