Skip to content

Cell not executed due to pending input The cell has not been executed to avoid kernel deadlock as there is another pending input! Submit your pending input and try again.

It looks like you’re working with an environment that allows code or notebook cells to be executed, and the error is indicating that one cell is waiting for input or is not executed because there’s another pending input or cell waiting.

To resolve this:

  1. Check for Pending Cells:
    • Look for any other cells in your environment that might still be executing or waiting for input.
    • Submit or stop execution for those cells before trying to run a new one.
  2. Restart the Kernel:
    • If you’re using a notebook environment (like Jupyter Notebook), try restarting the kernel.
    • In Jupyter Notebook: Go to the Kernel menu and choose Restart Kernel.
    • Once the kernel is restarted, try running the cell again.
  3. Clear Outputs:
    • You can also try clearing the outputs of all cells if any of them are stuck in execution. In Jupyter, go to Cell > All Outputs > Clear.

Once you’ve addressed any pending inputs or cells, try running your cell again.

Let me know if that resolves the issue!

90 thoughts on “Cell not executed due to pending input The cell has not been executed to avoid kernel deadlock as there is another pending input! Submit your pending input and try again.”

  1. I must thank you for the efforts you’ve put in penning this blog. I am hoping to check out the same high-grade content from you later on as well. In fact, your creative writing abilities has motivated me to get my very own blog now 😉

  2. Heya i’m for the first time here. I came across this board and I in finding It truly useful & it helped me out much. I’m hoping to offer something again and aid others like you helped me.

  3. I do not even know how I ended up here, but I thought this post was great.I don’t know who you are but definitely youare going to a famous blogger if you are not already 😉 Cheers!

Leave a Reply

Discover more from Sowft | Transforming Ideas into Digital Success

Subscribe now to keep reading and get access to the full archive.

Continue reading