【问题标题】:jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000 not workingjupyter notebook --NotebookApp.iopub_data_rate_limit=10000000 不工作
【发布时间】:2018-04-15 09:32:09
【问题描述】:

我遇到了这个错误

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`.

谷歌搜索一分钟后发现解决方案似乎是用jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000启动jupyter

但是,当我使用 Anaconda Prompt 执行此操作时,它会打开一个不同的 jupyter 窗口,其中包含不同的文件列表(它看起来像系统文件,带有 .exe 扩展名的东西)。我现有的 Jupyter 笔记本和 Jupyter 实验室没有注册增加的数据速率限制,如果我尝试打开任何文件、添加任何新内容或上传现有的 jupyter 笔记本,Anaconda Prompt 会返回权限错误。

我似乎找不到任何关于此的文档 - 关于如何修复的任何想法?

【问题讨论】:

    标签: python python-3.x anaconda jupyter-notebook jupyter


    【解决方案1】:

    当您再次运行 jupyter 时,您正在创建另一个对第一个实例一无所知的实例。如果您查看浏览器中的 url,您会发现它们在“localhost”之后有一个不同的数字。可能一个是“localhost:8888”,另一个是“localhost:”。

    最好的办法是跑

    jupyter notebook --generate-config
    

    然后您将在~/.jupyter/jupyter_notebook_config.py 获得一个可以编辑的配置文件,它将适用于您打开的所有实例。增加NotebookApp.iopub_data_rate_limit 并重新启动内核使其工作。

    看看configuration documentation。

    【讨论】:

      猜你喜欢
      • 2019-11-24
      • 2017-05-05
      • 2019-07-23
      • 1970-01-01
      • 2019-01-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多