Search code examples
google-cloud-platformjupyter-notebookgoogle-cloud-datalab

Restart Datalab Kernel


With my Datalab instance, I can't run my script because the Kernel is dead and i don't have any option to select Python3 or Python 2.

I restarted the session and tried also to restart the VM also, but nothing changed, the Kernel option is still unavalaible to choose!

Can you help please?


Solution

  • There's an issue when connecting to Datalab from the Cloud Shell. You can workaround this issue by connecting to the instance without Cloud Shell and create a tunnel on port 8080 to display the Datalab UI on your machine.

    In addition, I suggest switching to AI Platform Notebooks which provides an easy to use managed JupyterLab VM similar to Datalab and don't have this issue. Here's the quickstart to create a notebook.