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
My problem fixed after changing the kernel in the notebook. Old one seemed broken.
From notebook menu select:
Kernel > change kernel > "select whatever kernel from the list"
.
Consider creating one if you don't have any before.
I am having the same problem but solve it by using python 3.7 with four simple steps:
step 1:Installing python 3.7 in linux
sudo apt-get install python3.7
step 2: Installing python3-pip
sudo apt install python3-pip
step 3: installing jupyter
pip3 install jupyter
step 4:Strting jupyter notebook server
jupyter notebook
after starting server and going to localhost:888/tree it show option to create python 3 file after clicking on new button.
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.
I just had to shut down jupyter kernel and restart it again. It is probably because I uninstalled and installed a few of jupyter dependencies whilst the current kernel was still active.