1. 打开cmd,输入jupyter notebook --generate-config 2. 根据返回的路径打开 C:\Users\Administrator\.jupyter\jupyter_notebook_config.py文件 3. 在文件中任意位置添加: ``` import webbrowser webbrowser.register('Chrome', None, webbrowser.GenericBrowser("C:\Program Files (x86)\Google\Chrome\Application...
Windows下安装jupyter 在cmd窗口输入 :jupyter notebook --generate-config 会显示出jupyter的配置文件在哪里(路径) 打开文件找到 这里要说明的是Jupyter,要自己建 这一行 #c.NotebookApp.notebook_dir = '' c.NotebookApp.notebook_dir = 'E:\Jupyter' 其中'E:\Jupyter' 文件以后放到哪个地方, 就是工作目录...
1.使用如下命令,生成jupyter_notebook_config.py配置文件到C:\Users\XXXX\.jupyter的目录下。 jupyter notebook --generate-config 2.打开jupyter_notebook_config.py配置文件并修改(在文件尾添加即可)。经过如下设置在启动jupyter后其他设备也能通过ip访问。 # 允许以root用户启动notebook c.NotebookApp.allow_root...
添加jupyter_notebook_config.py配置文件 这里使用的是anaconda的prompt,在命令行中输入 jupyter notebook --generate-config 由于已经配置过了,会弹出Overwrite,如果输入y会恢复jupyter_notebook_config.py的默认配置 修改jupyter_note_config.py文件 打开上一步所找到的文件路径,这里用的是sublime text打开,可以用搜索...
jupyter notebook --generate-config 修改jupyter_notebook_config.py 配置文件 配置jupyter 的打开浏览器 关闭cmd,直接在文件夹中找到,所在路径一般为:“C:\Users\你的用户名\.jupyter”。 打开它(右键选择打开方式,用文本打开方式打开),在最后一行添加如下代码: ...
执行jupyter的启动命令: jupyter notebook --ip=0.0.0.0 --port=8000 表示监听在所有网卡地址上,监听的端口是8000 4.打开后将浏览器地址中的0.0.0.0改为127.0.0.1 5.更改默认路径, 配置Jupyter notebook jupyter notebook --generate-config 运行后自动生成了一个.py文件 ...
jupyter notebook --generate-config 1. 新建一个配置文件,此时程序会反馈这个配置文件的所在位置,需要记住这个位置方便之后的操作。 接着输入创建访问密码的命令 jupyter notebook password 1. 系统会要求输入两次密码(确认密码)。输入新密码后,就会反馈密码已经加入配置文件中。
(1)生成配置文件jupyter-notebook --generate-config (2)设置密码jupyter-notebook password C:\Users\Guo>jupyter-notebook --generate-configWriting default config to: C:\Users\Guo\.jupyter\jupyter_notebook_config.pyC:\Users\Guo>jupyter-notebook passwordEnter password:Verify password:[NotebookPassword...
解决办法:我们通过windows的命令行->win+r调出命令行窗口->在其中输入"jupyter notebook --generate-config"(注意引号不需要写),然后在jupyter配置文件中就会出现一个文件jupyter_notebook_config。打开这个新建的文件,在最后一行中加入以下代码 我们就可以看到能够正常跳出浏览器中的jupyter窗口了。 anaconda中spyder点击...