I\'ve tried installing jupyter notebook using pip3 install jupyter. Every time i launch a new jupyter notebook, the notebook is unable to connect to the kernel. See screenshot b
Just update the notebook, should work
If the above does not work for you then this is highly recommended.
I had the same issue where the kernel would simply not connect. Tried every solution, still no connection.
In the end I noticed some Value Error Exceptions being raised in the console where I started the notebook client. The source of these exceptions was another python script in the same folder as the notebook.
delete all the python files in the same directory where notebook is installed or move them to some other folder. Fixed the notebook
In my case, I just updated my jupyter and it worked.
Create a conda environment using:
conda create -n my_env python=3
Activate the environment using:
source activate my_env
Install the ipykernel using:
conda install ipykernel
ipython kernel install --name my_env --user
Now open the jupyter and select the "my_env" from Kernel option. ( path : jupyter -> kernel -> change kernel -> my_env )