Python jupyter lab settings

After downloading jupyter lab, you need to set it up, especially when using a remote server, because there is no screen or browser at all.

New settings file

jupyter lab --generate-config

Set the internal parameters of the file

 vim ~/.jupyter/jupyter_lab_config.py

Once you go in and make changes, you can also directly copy and paste them.

c.ServerApp.root_dir = '/home/workspace'
c.ServerApp.allow_remote_access = True
c.ServerApp.ip = '*'
c.LabApp.open_browser = False
c.ServerApp.port = 8701

start up

jupyter lab --allow-root

Guess you like

Origin blog.csdn.net/u010095372/article/details/132269761