jupyter lab --generate-config 默认的配置文件放在 "C:\Users\Administrator\.jupyter\jupyter_lab_config.py" 修改配置 c.ServerApp.allow_remote_access =True #设置允许远程访问 c.ServerApp.local_hostnames= ['192.168.1.xxx'] #设置主机名 c.ServerApp.root_dir='E:\\'#设置启动后的jupyterlab的笔记...
4)想要这个修改的配置文件生效,我们重启一下这个软件,重新进入这个Jupyterlab就可以了
jupyter lab --generate-config 这个命令会产生一个配置文件jupyter_lab_config.py,并且提醒你这个文件具体在哪个位置。一般会是: “C:\Users\你的用户名.jupyter\jupyter_lab_config.py” ,这个文件是.py文件,里面的内容都是遵循python语法的,包括严格的缩进方式等。 3、打开这个文件,查找“root_dir”,修改为你...
jupyter notebook --generate-config 2.2 生成密码# 从jupyter lab 3.0 版本开始,提供了一个命令来设置密码:jupyter lab password,生成的密码存储在jupyter_notebook_config.json。 jupyter lab password 2.3 修改配置文件# 在jupyter_notebook_config.py中找到下面的行,取消注释并修改。 c.NotebookApp.ip ='*'c....
1.生成jupyter lab配置文件 jupyter lab --generate-config #复制这里配置文件的路径 ~/.jupyter/jupyter_lab_config.py 1. 2. 2.设置远程密码 #进入ipython环境 ipython In [1]: from notebook.auth import passwd In [2]: passwd() Enter password: ...
本文的配置方法对于Jupyter Notebook一样有效 1、登录远程Linux服务器 2、安装JupyterLab pip install jupyterlab 1. 3、生成配置文件 jupyter notebook --generate-config #生成的文件位于:~/.jupyter/jupyter_notebook_config.py #配置文件 1. 2. 4、设置密码 ...
首先生成配置文件: jupyter lab --generate-config 执行生成配置文件命令后可以看到生成的配置文件路径为/root/.jupyter/jupyter_lab_config.py记住这个路径。下面开始修改配置文件,可通过vim /root/.jupyter/jupyter_lab_config.py命令将以下内容写入jupyter_lab_config.py: ...
方法一:在Anaconda Ptompt中输入jupyternotebook--generate-config,找到配置文件所在位置 打开配置文件jupyter_notebook_config.py找到#c.NotebookApp.notebook_dir= ''修改为c.NotebookApp.notebook_dir= u'D:\\Jupter_Notebook' 保存即可 修改anaconda下的jupyter新建文件路径 ...
''' 在家目录下的 ~/.jupyter 修改文件 jupyter_lab_config.py 只需在开头输入下方命令 ''' c.ServerApp.allow_remote_access = True c.ServerApp.ip = '*' # 启动时不自动打开浏览器 c.ServerApp.open_browser = False c.LabServerApp.open_browser = False c.ExtensionApp.open_browser = False c....