-->

How to set NotebookApp.iopub_data_rate_limit and o

2020-06-03 02:18发布

问题:

I want to start my notebooks with jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000000 arguments. Where one could set it in JupyterHub?

回答1:

Open the command line and enter

jupyter notebook --NotebookApp.iopub_data_rate_limit=1e10

This should start jupyter with the increased data rate.



回答2:

You have to create config file using this command $ jupyter notebook --generate-config, The answer in this link



回答3:

04: "IOPUB data rate exceeded" problem of "jupyter low memory.." in windows:

  1. open cmd:
  2. in main path:C:\Users\siege> (this is my root path)

    type the command: "jupyter notebook --generate-config"

    the you hav: C:\Users\siege>jupyter notebook --generate-config

  3. system will generate "jupyter_notebook_config.py" in path:C:\Users\siege>.jupyter

  4. open "jupyter_notebook_config.py" find the line

    #c.NotebookApp.iopub_data_rate_limit = 1000000

    uncomment it and change it to:

    c.NotebookApp.iopub_data_rate_limit = 100000000

  5. save it

  6. restart jupyter

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



回答4:

to enbale it with jupyter-lab, use the following cmd for used environment

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