Skip to content

[Solved] Jupyter Notebook - 500 : Internal Server Error

Last Updated on 2021-09-14 by Clay

I rarely use Jupyter Notebook to program, because I am not accustomed to a grid of code blocks, which makes me uncomfortable.

But today when I opened Jupyter Notebook to read other people's code, I was surprised to find a few big words on Jupyter Notebook page:

500 : Internal Server Error

I checked the Internet and found that the status code 500 means: the server encountered an unexpected error and made an error.

What the hell? This is too vague.

I thought it might be the problem with the .ipynb file I was looking for, but I tested it with the file that was normally opened in the past, and found that all the files could not be opened.

It seems to be Jupyter Notebook's problem.

Fortunately, many people on the Internet seem to have the same problem, and a universal solution is also circulating. I will record it as follows.


Solution

There are two methods you can try:

  • Restart Jupyter Notebook
  • Upgrade jupyter package

You can use the following command to upgrade the Jupyter Notebook

pip3 install --upgrade --user nbconvert

After the update, you can test to see if Jupyter Notebook can be executed normally.

I succeeded on the Mac OS; according to netizens on the Internet, there are generally successful cases on Windows 10 and Linux system.


References


Read More

Tags:

24 thoughts on “[Solved] Jupyter Notebook - 500 : Internal Server Error”

    1. After all, this involves the network environment of server equipment, and everyone’s situation may be different. I’m sorry I couldn’t help.

  1. Pingback: 500 internal server error jupiter notebook — Лайфхакер

  2. Pingback: anacondaでjupyter起動時のjupyter_mac.command does not existエラーの対処法 – HarunoAura

Leave a Reply