Jupyter Notebook中出现IOPub data rate exceeded错误

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
  • 1
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值