问题描述
在Windows PC上,我安装了anaconda,当我打开jupyter笔记本时,它会在Internet Explorer中打开,但是我想改用Chrome.有人知道如何实现这一目标吗?
On my Windows PC, i have anaconda installed and when I open a jupyter notebook, it opens up in internet explorer, but I would like to use Chrome instead. Does anyone know how to achieve this?
推荐答案
如果还没有,请通过运行创建笔记本配置文件
If you haven't already, create a notebook config file by running
jupyter notebook --generate-config
然后,编辑在主目录的.jupyter
文件夹中找到的文件jupyter_notebook_config.py
.
Then, edit the file jupyter_notebook_config.py
found in the .jupyter
folder of your home directory.
您需要将行# c.NotebookApp.browser = ''
更改为c.NotebookApp.browser = 'C:/path/to/your/chrome.exe %s'
在Windows 10上,Chrome应该位于C:/Program Files (x86)/Google/Chrome/Application/chrome.exe
上,但是请确保对系统进行检查.
On windows 10, Chrome should be located C:/Program Files (x86)/Google/Chrome/Application/chrome.exe
but check on your system to be sure.
这篇关于如何在Windows上的Chrome中打开Jupyter Notebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!