IOPub data rate exceeded
IOPub data rate exceeded.The notebook server will temporarily stop sending outputto 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)
但...我不知道要去哪邊改iopub_data_rate_limit
根據網路上眾網友的說明,透過執行【jupyter notebook --generate-config】會找到【jupyter_notebook_config.py】這個檔案,接著用txt開完就能去改【iopub_data_rate_limit】。
但實際操作起來,我卻找不到【jupyter_notebook_config.py】這個檔案,請教應該去哪邊改iopub_data_rate_limit呢?
回答列表
-
2019/04/29 下午 00:00張維元 (WeiYuan)贊同數:0不贊同數:0留言數:2
嗨,可以試著這樣執行看看嗎:
```
$ jupyter notebook --NotebookApp.iopub_data_rate_limit=2147483647
```
-
2019/04/29 下午 05:52張維元 (WeiYuan)贊同數:0不贊同數:0留言數:0
@張小馬:
```
jupyter_notebook_config.py這個檔案是重點,感覺一切的預設值是透過這檔案去設定的,問題在於我找不到這個檔案,有可能是以Anaconda3的安裝方式,讓這個檔案不叫做【jupyter_notebook_config.py】,也不在眾網友說的某個指定路徑的資料夾裡。有找到一個比較像的檔案是【jupyter-notebook-script.py】,但點開來長這樣,並沒有地方可以設定iopub_data_rate_limit。 # -*- coding: utf-8 -*- import re import sys from notebook.notebookapp import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
```
以下幾點確認:
1. 你的 Python 環境是怎麼安裝的?
2. 你在哪裡執行 jupyter notebook --generate-config,有顯示任何錯誤訊息嗎?
3. 可以試試看: jupyter --paths 找 Jupyter 的安裝路徑,是有顯示的嗎?
-
2019/04/30 上午 00:22張維元 (WeiYuan)贊同數:1不贊同數:0留言數:1
環境的雷真的很難控制,我剛剛有找到這篇:https://www.itread01.com/content/1546150383.html ,重新安裝 pyzmq 試試看