*My post explains how to solve IOPub data rate exceeded
error on Jupyter Notebook but it also works to JupyterLab.
I got the error below when using JupyterLab on Anaconda on Windows:
IOPub data rate exceeded.
The Jupyter server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
--ServerApp.iopub_data_rate_limit
.Current values:
ServerApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
ServerApp.rate_limit_window=3.0 (secs)
So, I closed JupyterLab on Chrome, then I ran the command below on Anaconda Prompt to generate jupyter_lab_config.py
to C:/Users/
:
jupyter lab --generate-config
Then, I found the line 902 below on jupyter_lab_config.py
:
# c.ServerApp.iopub_data_rate_limit = 0.0
Then, I uncommented it, set 10000000
to it and save as shown below:
*Memos:
- It's
1000000
by default. - It also affects to Jupyter Notebook.
- If there are both
jupyter_lab_config.py
andjupyter_notebook_config.py
,jupyter_lab_config
is prioritized.
c.ServerApp.iopub_data_rate_limit = 10000000
Finally, I reopened JupyterLab on Chrome with Anaconda Navigator, then I couldn't get the error above.