Jupyter Notebook中出现IOPub data rate exceeded错误

Jupyter Notebook中出现IOPub data rate exceeded错误,第1张

Jupyter Notebook中出现IOPub data rate exceeded错误
jupyter notebook运行数据较大时,为了防止软件crash,会自动停止,出现如下提示
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

解决办法:
1、临时设置
在启动jupyter notebook时,添加如下参数(临时,每次启动都需要设置参数)

jupyter notebook --NotebookApp.iopub_data_rate_limit=1000000000 #即把默认的1000000数字调大即可

2、永久设置

vim ~/.jupyter/jupyter_notebook_config.py
# 在最后添加
c.NotebookApp.iopub_data_rate_limit = 1000000000

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/917858.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-16
下一篇 2022-05-16

发表评论

登录后才能评论

评论列表(0条)

保存