Jupyter Notebook 500 : Internal Server Error

前端 未结 16 1791
野趣味
野趣味 2020-12-09 08:42

I want to learn how to use Jupyter Notebook. So far, I have managed to download and install it (using pip), but I\'m having trouble opening it.

I am opening it by ty

16条回答
  •  有刺的猬
    2020-12-09 09:17

    A simple solution that worked for me: on the terminal, run the following command -

    jupyter troubleshoot | grep jupyter | grep /
    

    This will list the path to the different versions of jupyter that are installed in your computer. Try all the versions one by one and delete the binaries of the ones that give you the 500 error. Then you might want to change the link to jupyter by adding a line (alias jupyter="/usr/local/bin/jupyter") to your ~/.bashrc file or call jupyter with the absolute path.

    Note: this is not the cleanest solution, but one that works.

提交回复
热议问题