我遇到了这个错误
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 会返回权限错误。
我似乎找不到关于此的任何文档 - 关于如何修复的任何想法?
最佳答案
当您再次运行 jupyter 时,您正在创建另一个对第一个实例一无所知的实例。如果您查看浏览器中的 url,您会发现它们在“localhost”之后有一个不同的数字。可能一个是“localhost:8888”,另一个是“localhost:”。
最好的办法就是运行
jupyter notebook --generate-config
然后您将在 ~/.jupyter/jupyter_notebook_config.py
处拥有一个您可以编辑的配置文件,它将适用于您打开的所有实例。增加 NotebookApp.iopub_data_rate_limit
并重新启动内核以使其正常工作。
关于python - jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47082416/