Google Vertex UI does not show correct kernel name

70 views Asked by At

All created kernels with the conda environment are named in the same way.

UI kernels

The display-name seems to be correct, rebooting does not help as well.

kernel.json file

I dont have such kind of issue in the jupyterhub.

1

There are 1 answers

0
gogasca On

When you create a new Jupyter kernel using ipykernel, the kernel specification is saved to a default location, typically in your user directory. However, you can specify a different location using the --prefix option when installing the kernel. Try using location for default Python 3 kernel and check if you see same behavior.

jupyter kernelspec list
Available kernels:
  myenv_kernel    /opt/conda/share/jupyter/kernels/myenv_kernel
  python3         /opt/conda/share/jupyter/kernels/python3

Try installing kernels in this location:

/opt/conda/share/jupyter/kernels/

This is my kernel.json

more /opt/conda/share/jupyter/kernels/myenv_kernel/kernel.json 
{
 "argv": [
  "/opt/conda/bin/python",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ],
 "display_name": "My Custom Environment",
 "language": "python",
 "metadata": {
  "debugger": true
 }
}

enter image description here