HOPStudio commited on
Commit
687d13b
·
verified ·
1 Parent(s): b9c79de

Update start_jupyterlab.py

Browse files
Files changed (1) hide show
  1. start_jupyterlab.py +1 -0
start_jupyterlab.py CHANGED
@@ -51,6 +51,7 @@ def start_jupyter_lab():
51
  "--no-browser", # 禁止自动打开浏览器
52
  "--ip=0.0.0.0", # 允许外部访问
53
  "--port=18888", # 指定端口
 
54
  ]
55
 
56
  process = subprocess.Popen(
 
51
  "--no-browser", # 禁止自动打开浏览器
52
  "--ip=0.0.0.0", # 允许外部访问
53
  "--port=18888", # 指定端口
54
+ "--allow-root" # 允许以 root 身份运行
55
  ]
56
 
57
  process = subprocess.Popen(