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 10 Comments


    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

      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.

  6. Deepti

    I went through many blogs and discussions to resolve this issue. No one explained clearly like this one. Thanks a ton!! It worked.

  7. Abinash

    I searched many blogs to resolve this issue. It worked for me Thanks a lot

  8. tiya

    this was very helpful. very detailed, clear and there is no room for error in your description. many thanks!

    1. admin

      I’m please this has helped you! Best wishes James

Leave a Reply