Jupyter Notebook error: How to IOPub_data_rate_limit [How to Solve]

1.Questions

Run jupyter notebook, and then run Python code. When reading the file for processing, an error will be reported. IO read error on discovery. It should be the IO rate

the following is the problem error:

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`.

Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)

2.Solutions

2.1 production configuration file

Run Command:

jupyter notebook --generate-config

 

Description:

If you have run this command before, you do not need to run it again

The purpose of this command is to produce the configuration files needed to run

2.2. Modify configuration file

Modify production configuration file: jupyter_ notebook_ config.py

Set the default configuration item: # c.notebookapp.iopub_ data_ rate_ limit = 1000000

Change to: c.notebookapp.iopub_ data_ rate_ limit = 1000000000

2.3. Restart the connector notebook

Note that the previously modified configuration file needs to be saved

There are two configuration items in the error report, and the other one does not need to be modified

 

Similar Posts: