ServerApp.iopub

计均
2023-12-01

ServerApp.iopub_data_rate_limit
报错

解决方案:官方文档

使用jupyter server --generate-config报错

pyenv: jupyter-server: command not found

解决

 pyenv global 3.7.4

然后再输命令即可。

ServerApp.iopub_data_rate_limit报错具体内容

IOPub data rate exceeded.
The Jupyter server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--ServerApp.iopub_data_rate_limit`.

Current values:
ServerApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
ServerApp.rate_limit_window=3.0 (secs)

修改生成的config文件内容后,重新运行(还是报错。。。?)

## (bytes/sec) Maximum rate at which stream output can be sent on iopub before
#  they are limited.
#  Default: 1000000
c.ServerApp.iopub_data_rate_limit = 10000000000000000000000000000000000000000000000000000000000000000000000000000000

## (msgs/sec) Maximum rate at which messages can be sent on iopub before they are
#  limited.
#  Default: 1000
c.ServerApp.iopub_msg_rate_limit = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000

尝试

jupyter server --ServerApp.iopub_data_rate_limit=90000000 /home/featurize/work/Untitled2.ipynb

[I 17:14:07.082 NotebookApp] Writing notebook server cookie secret to /home/featurize/.local/share/jupyter/runtime/notebook_cookie_secret
[W 17:14:07.306 NotebookApp] Error loading server extension jupyter_server_proxy
    Traceback (most recent call last):
      File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/notebook/notebookapp.py", line 1572, in init_server_extensions
        mod = importlib.import_module(modulename)
      File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/importlib/__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
      File "<frozen importlib._bootstrap>", line 983, in _find_and_load
      File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
    ModuleNotFoundError: No module named 'jupyter_server_proxy'
[I 17:14:07.309 NotebookApp] Serving notebooks from local directory: /home/featurize/work
[I 17:14:07.309 NotebookApp] The Jupyter Notebook is running at:
[I 17:14:07.309 NotebookApp] http://(...):XXXX/?token=...
[I 17:14:07.309 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 17:14:07.316 NotebookApp] No web browser found: could not locate runnable browser.
[C 17:14:07.316 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///....html
    Or copy and paste one of these URLs:
        http://(..):XXXX/?token=...
 类似资料:

相关阅读

相关文章

相关问答