Reputation: 649
I am accessing jupyterhub notebook through browser as it is running on a remote server(using nginx so that jupyterhub is accessible to client machines).When I access the notebook a kernel error is shown at the top of the screen. Jupyterhub and jupyter notebook is running on a kubernetes cluster and the jupyter notebook is a custom built docker image suitable for python programming. I am very new into python/jupyter hub/notebook, please suggest how to resolve the kernel error.
Upvotes: 1
Views: 1850
Reputation: 1638
you should use this command
jupyter kernelspec remove python3
python3 is name of kernel at my end, it can be yours. after than run jupyter notebook again from command prompt.
Upvotes: 0
Reputation: 51
Please check kernel.json
file, check if the path to the Python
executable is correct
for example my kernel.json
looks like this, in my case the Python binary is located at
C:/Users/Vinod/Anaconda/envs/env_name/python
Check the path in your case
{
"argv": [
"C:/Users/Vinod/Anaconda/envs/env_name/python",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "Python 3",
"language": "python"
}
Note: env_name refers to the anaconda environment you are using
Upvotes: 1