At the beginning, my jupyter crashed all the time, and I solved it after reinstalling anaconda, but clicking on .ipynb type files will display 500: Internal Server Error.
2. Cause analysis
I basically tried all the other people's solutions on the first two pages of Bing search, but it didn't work. Many people said that the version of some python packages did not match, so I downloaded it again, but it didn't work.
Later, I saw this blog: https://www.cnblogs.com/pythonbao/p/10739036.html#_labelTop
I remembered that I downloaded the package related to this extension because I wanted to merge the jupyter cells. Maybe I didn’t delete it, so I tried to uninstall it. After uninstalling the package, it returned to normal...
3. Solutions
pip uninstall jupyter_contrib_nbextensions
4. Summary
If you haven't downloaded this jupyter extension, don't use my method. If you have downloaded it and this error occurs, you can try my method to solve it.