1. 生成配置文件 在命令行输入jupyter notebook --generate-config,然后就自动生成一个.jupyter的文件夹,里面有一份配置文件 2.设置密码 在命令行输入jupyter notebook password 然后根据提示输入两次设置的密码,完事儿就会生成一个json文件,会包含一个密码的字符串"sha1:xxxxxxxx",把这个字符串复制好,粘贴到生成的...
jupyter notebook --generate-config 这时候你的目录(打开c盘-》user/用户-》.jupyter)下会多一个叫做jupyter_notebook_config.py的文件,编辑查找c.NotebookApp.allow_password_change然后改成False。 再回到cmd,输入jupyter notebook password,输入密码,确认密码。这时候会在原来的目录下生成.json文件,里面保存的是h...
jupyter notebook --generate-config 1. 设置访问密码 jupyter notebook password 1. 进入上面的json文件路径,打开jupyter_notebook_config.json配置文件,复制密文 然后打开上面jupyter_notebook_config.py配置文件,添加以下参数,添加后保存 c.NotebookApp.ip='*' #允许访问的IP地址,设置为*代表允许任何客户端访问 c...
jupyter notebook password 进入上面的json文件路径,打开jupyter_notebook_config.json配置文件,复制密文 然后打开上面jupyter_notebook_config.py配置文件,添加以下参数,添加后保存 c.NotebookApp.ip='*' #允许访问的IP地址,设置为*代表允许任何客户端访问c.NotebookApp.password = u'argon2:$argon2id$v=19$m=1...
jupyter notebook password Enter password: Verify password: 会生成 .jupyter/jupyter_notebook_config.json文件,里面存的是加密过后的密码。 2.使用vim打开上面的文件: vim .jupyter/jupyter_notebook_config.json 3.把里面的一串代码复制出来,比如: "argon2:$argon2id$v=19$m=10240,t=10,p=8$yqX7AhTpZL...
jupyter notebook password 密码被写入 .jupyter/jupyter_notebook_config.json 中: 2. 重新启动 jupyter notebook 3. 使用密码进入 jupyter notebook网页客户端: === 第二种方法: 设置hash密码: 注意: ipython notebook 设置hash密码后就不能使用 token ...
Crtl + F组合键找到c.NotebookApp.allow_password_change元素,修改为:NotebookApp.allow_password_change=False,并且删掉前面的注释#,保存文件; 回到windows命令行,运行jupyter notebook password,按照提示输入新密码(注意这里的密码是不显示的); 可以看到上一步生成了一个json文件,保存在.jupyter文件夹里,和配置文件...
jupyter notebook password 重新设置密码,然后重启jupyter,输入刚刚设置的新密码就可以了。亲测可行!
jupyter notebook password Bash Copy 进入上面的json文件路径,打开jupyter_notebook_config.json配置文件,复制密文 然后打开上面jupyter_notebook_config.py配置文件,添加以下参数,添加后保存 c.NotebookApp.ip='*'#允许访问的IP地址,设置为*代表允许任何客户端访问c.NotebookApp.password=u'argon2:$argon2id$v=19...