From a3b44309dd93843a5466bd7cc7435a0179e4f4f2 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Wed, 21 Feb 2018 22:42:19 -0800 Subject: [PATCH] Pass --allow-root into jupyter notebook. (#1571) --- python/ray/services.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ray/services.py b/python/ray/services.py index 98a2ae4c6..086f52b46 100644 --- a/python/ray/services.py +++ b/python/ray/services.py @@ -653,6 +653,7 @@ def start_ui(redis_address, stdout_file=None, stderr_file=None, cleanup=True): # querying the jupyter server. token = binascii.hexlify(os.urandom(24)).decode("ascii") command = ["jupyter", "notebook", "--no-browser", + "--allow-root", "--port={}".format(port), "--NotebookApp.iopub_data_rate_limit=10000000000", "--NotebookApp.open_browser=False",