jupyter notebook 报错

问题:

jupyter notebook 报错
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)

解决:需要找到并进入配置文件—— jupyter_notebook_config.py ,进行参数修改。

1.查找:输入 jupyter --paths

——在我的Mac这个位置下面:/Users/用户名/.jupyter
(若没有此文件,则需要手动生成配置文件:
jupyter notebook --generate-config)

2.修改参数

找到iopub_data_rate_limit,取消#,再添加几个0,保存退出。

3.重启运行