一、问题

运行jupyter notebook,然后运行python代码,读取文件处理时,会报错。发现时IO读取时错误。应该是IO速率问题。

下面是问题报错:

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.1、生产配置文件

运行命令:

jupyter notebook --generate-config

说明:

  1. 如果之前运行过这个命令,则不用再次运行。
  2. 这个命令的目的时生产运行需要的配置文件。

2.2、修改配置文件

修改生产的配置文件:jupyter_notebook_config.py

把默认的配置项:#c.NotebookApp.iopub_data_rate_limit = 1000000

修改成:c.NotebookApp.iopub_data_rate_limit = 1000000000

2.3、重启jupter notebook

  1. 注意前面修改的配置文件需要保存。
  2. 报错中有两个配置项,另一个配置项不需要修改。

三、参考

参考:

最新文章

  1. 从游戏脚本语言说起,剖析Mono所搭建的脚本基础
  2. mac osx Forbidden You don't have permission to access / on this server解决方法
  3. python中global 和 nonlocal 的作用域
  4. alpha-beta剪枝搜索
  5. transformClassesWithDexForDebug
  6. OneSQL助力永辉超市大卖特卖
  7. 字符编码和python .encode().decode()方法
  8. iOS xib中TableView创建的2种模式
  9. windows+nginx+fcgi配置
  10. 一些常用到的Centos命令
  11. hdu 4010 Query on The Trees LCT
  12. Python 实例: 备份文件
  13. perl 变量详解
  14. ajax-典型应用-验证用户名
  15. Android简单计算器
  16. CSS jQuery HTML5 CSS3
  17. 微信小程序之给项目设置id后提示不在合法域名列别中
  18. Guitar Pro里自动化编辑器有什么用?如何使用?
  19. POJ 2001 Shortest Prefixes(字典树)
  20. Centos新增group和user

热门文章

  1. Seven-segment Display 贪心选择,快速判断能否有解
  2. (转)linux下文件删除的原理精华讲解(考试题答案系列)
  3. Hive 环境的安装部署
  4. Storm概念学习系列之Storm与Hadoop的角色和组件比较
  5. HTML <pre> 标签
  6. mysql通用分页存储过程遇到的问题
  7. 关于IE和Firefox兼容性问题及解决办法
  8. 表格<table>
  9. iOS 力学动画生成器UIKit Dynamics 之碰撞效果讲解
  10. SQLserver2005描述对数据的调用