1.2 jupyter notebook 浏览器打开空白
2017-10-30 09:32
706 查看
jupyter notebook 需要用谷歌浏览器打开才可以,其他的浏览器打开后多半是空白的。添加默认浏览器如下:
1.在anaconda prompt 里面直接输入jupyter notebook --generate-config让jupyter生成一个配置文件,生成后你会看到文件地址的
2.然后就可以使用记事本之类的,打开这个jupyter_notebook_config.py文件
然后查找,browser,找到如下代码:## Specify what command to use to invoke a web browser when opening the notebook.
# If not specified, the default browser will be determined by the `webbrowser`
# standard library module, which allows setting of the BROWSER environment
# variable to override it.
#c.NotebookApp.browser = u''
在这个后面,添加google浏览器
1.在anaconda prompt 里面直接输入jupyter notebook --generate-config让jupyter生成一个配置文件,生成后你会看到文件地址的
2.然后就可以使用记事本之类的,打开这个jupyter_notebook_config.py文件
然后查找,browser,找到如下代码:## Specify what command to use to invoke a web browser when opening the notebook.
# If not specified, the default browser will be determined by the `webbrowser`
# standard library module, which allows setting of the BROWSER environment
# variable to override it.
#c.NotebookApp.browser = u''
在这个后面,添加google浏览器
import webbrowser webbrowser.register('chrome', None, webbrowser.GenericBrowser(u'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe')) c.NotebookApp.browser = 'chrome'
相关文章推荐
- python 的 IDLE 无法连接以及 jupyter notebook 无法打开浏览器
- Windows 下jupyter notebook 修改打开的浏览器
- Windows 下jupyter notebook 如何修改打开的浏览器
- Jupyter notebook修改打开的默认目录
- 在Mac上使用Jupyter Notebook遇到打不开浏览器的情况
- 打开ipynb文件——Jupyter Notebook——怎么设置路径
- Jupyter使用 | Jupyter Notebook打开默认文件夹以外的文件
- anaconda2 打开jupyter Notebook及简单使用
- ubuntu设置jupyter notebook默认浏览器为chrome(谷歌浏览器)
- 用windows浏览器打开Linux的Jupyter notebook开发、调试示例
- 用windows浏览器打开Linux的Jupyter notebook开发、调试示例
- jupyter notebook 打开闪退
- jupyter notebook 打开闪退
- jupyter notebook 架设在服务器 本地用浏览器访问服务器上的jupyter
- Jupyter Notebook 使用IE打开显示不出界面的问题
- 如何修改jupyter notebook默认打开目录
- 如何修改jupyter notebook的 默认目录和默认浏览器
- Jupyter notebook如何打开数据集
- 远程连接服务器jupyter notebook、浏览器以及深度学习可视化方法
- 在windows中打开ipynb文件 ipython notebook jupyter