安裝方法:
pip install jupyterlab
創建配置文件:
jupyter lab --generate-config
修改jupyter工作路徑:
打開配置文件(使用文本編輯器打開),修改以下配置:
修改前:
# c.ServerApp.notebook_dir = ''
修改后:
c.ServerApp.notebook_dir = '<jupyter工作路徑>'
# 例如:c.ServerApp.notebook_dir = 'C:\Python\Python_project\Jupyter'
運行jupyter lab
CMD命令行中輸入jupyter lab命令,然后默認瀏覽器就會打開jupyter lab。
jupyter lab