cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Notebook Session Has Crashed

thatsawinner
New Contributor II

I am getting a pop-up error message in the right hand corner of my Databricks session, "Your notebook session has crashed."  This is a notebook I've been working in for a while.

The only line of code I am running is 

pip list

The error at the bottom of my notebook when I run this code is, "Failure starting repl. Try detaching and re-attaching the notebook or clearing the notebook environment."

I have tried the following to fix this and they have not worked:

  • Starting a new session.
  • Terminating the session and starting a new one.
  • Terminating the session, closing the notebook, reopening the notebook, starting a new session.

I have run the "pip list" code in a new notebook and it run just fine.

Why am I getting this error?  How do I fix it and continue to work in my notebook?

Thank you!

 

1 ACCEPTED SOLUTION

Accepted Solutions

szymon_dybczak
Esteemed Contributor III

Hi @thatsawinner ,

If you're using serverless then try to set Environment version = 4

1. Open the environment settings tab, using the slider icon on the far right settings bar of the notebook interface

2. Change the environment version to 4 (or later if/when available)

3. Click "Apply"

4. Try to reconnect to serverless compute

szymon_dybczak_0-1761497215052.png

 

 

View solution in original post

4 REPLIES 4

szymon_dybczak
Esteemed Contributor III

Hi @thatsawinner ,

If you're using serverless then try to set Environment version = 4

1. Open the environment settings tab, using the slider icon on the far right settings bar of the notebook interface

2. Change the environment version to 4 (or later if/when available)

3. Click "Apply"

4. Try to reconnect to serverless compute

szymon_dybczak_0-1761497215052.png

 

 

Thank you!

szymon_dybczak
Esteemed Contributor III

Hi @thatsawinner ,

No problem. If the answer helped you resolve this issue, please mark it as a solution to a thread.

Hubert-Dudek
Esteemed Contributor III

From the screen, it looks like an interactive clusterโ€”maybe try rebooting it.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now