Jupyter Notebook IOPub overspeed error message

When you try to import a TXT file with the following code, you receive the following error message:

with open("cobuy.txt", "r+") as my_file:
    for item in my_file:
        my_file.write("%s\n" % item)

text = open("obuy.txt").read()

text

      

:

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.

      

From googling around, it seems like a problem with Jupyter Notebook version 5.0. It shows that you can put the following code in the terminal to solve this: jupyter notebook --NotebookApp.iopub_data_rate_limit = 10000000000, I can't get this to work: https://github.com/jupyter/notebook/issues/2287

Are there any other solutions?

+3


source to share


2 answers


This solution works for me.

Launch notepad as shown below:



jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10

      

+4


source


i have the same problem how you solved it



0


source







All Articles