【问题标题】:How to set NotebookApp.iopub_data_rate_limit and others NotebookApp settings in JupyterHub?如何在 JupyterHub 中设置 NotebookApp.iopub_data_rate_limit 和其他 NotebookApp 设置?
【发布时间】:2017-09-15 08:58:52
【问题描述】:

我想以jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000000 参数开始我的笔记本。可以在 JupyterHub 中的哪个位置设置它?

【问题讨论】:

    标签: python configuration jupyter-notebook jupyter jupyterhub


    【解决方案1】:

    打开命令行输入

    jupyter notebook --NotebookApp.iopub_data_rate_limit=1e10

    这应该以增加的数据速率启动 jupyter。

    【讨论】:

      【解决方案2】:

      您必须使用此命令创建配置文件$ jupyter notebook --generate-config,答案在此link

      【讨论】:

        【解决方案3】:

        04:“jupyter low memory..”的“IOPUB data rate exceeded”问题 在窗口中:

        1. 打开cmd:
        2. 在主路径:C:\Users\siege>(这是我的根路径)

          输入命令:“jupyter notebook --generate-config”

          你拥有的:C:\Users\siege>jupyter notebook --generate-config

        3. 系统会生成“jupyter_notebook_config.py” 路径:C:\Users\siege>.jupyter

        4. 打开“jupyter_notebook_config.py”找到行

          #c.NotebookApp.iopub_data_rate_limit = 1000000

          取消注释并将其更改为:

          c.NotebookApp.iopub_data_rate_limit = 100000000

        5. 保存

        6. 重启jupyter

        https://www.youtube.com/watch?v=B_YlLf6fa5A

        【讨论】:

        • 这是唯一正确的答案,因为它可以根据 OP 与 jupyterhub(而不仅仅是 jupyter notebook/lab)一起使用
        【解决方案4】:

        要使用 jupyter-lab 启用它,请使用以下 cmd 用于使用的环境

        conda activate 'your env'
        jupyter-lab --NotebookApp.iopub_data_rate_limit=1e10
        

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 2019-07-30
          • 2021-12-08
          • 2019-05-28
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2020-07-04
          相关资源
          最近更新 更多