IOPub data rate exceeded. The notebook server will temporarily stop sending output to the client in order to avoid crashing it.

I found a rather nice error pop up in my Jupyter notebook whilst playing around.

After reading about this on the internet, I think I’ve fixed it. I’m using windows 10.

1) Go to the Anaconda Prompt (click on Start menu in Win10 and type ‘Anaconda Prompt’

2) In the prompt window, type ‘jupyter notebook –generate-config’ and hit return

3) Locate the file you just created on your hard drive.

4) Open this in a text editor (I recommend Notepad ++) and locate the line that reads ‘ #c.NotebookApp.iopub_data_rate_limit = 1000000 ‘ as below

5) Copy the line, paste it below and remove the # from the front (i.e. remove the comment out). Then add a 0 on to the string of zeros.

Save this file, close down your Jupyter Notebook, Anaconda and anything related to it and restart. Hopefully the error won’t pop up again. So far so good at this end. Hope that helps.

This Post Has 6 Comments

  1. ANAND MODI

    I am running jupyter notebook through my university course & facing the same error so how should I solve it .I tried the above command but it didnt work.

  2. Jaime Lannister

    Wonderfully explained! This solved my problem completely, thanks!

    1. admin
      admin

      Really pleased it helped, Jaime. I don’t get too many comments on this blog, it’s more a load of notes for myself so very happy it helped!

  3. maha

    hey great explanation! Can you please let me know how to solve the problem in ubuntu

  4. Louisa

    Thanks for the instructions! Getting rid of the warning helped reveal the true source of the error.

  5. Nazifa

    I searched the whole internet to solve this error. Luckily, a while later, I bumped into this. Thank you very much for your beautiful explanation.

Leave a Reply