困困

anaconda设置默认浏览器

电脑版发表于:2022/11/9 21:11

cmd命令行:jupyter notebook --generate-config
Overwrite C:\Users\罗芙蓉\.jupyter\jupyter_notebook_config.py with default config? [y/N]y

Ctrl+f:搜索 c.NotebookApp.allow_origin =

在这一行下面加上

import webbrowser
webbrowser.register("chrom",None,webbrowser.GenericBrowser(u"C:\Program Files\Google\Chrome\Application\chrome.exe"))
c.NotebookApp.browser = 'chrom'


关于TNBLOG
TNBLOG,技术分享。技术交流:群号677373950
ICP备案 :渝ICP备18016597号-1
App store Android
精彩评论
{{item.replyName}}
{{item.content}}
{{item.time}}
{{subpj.replyName}}
@{{subpj.beReplyName}}{{subpj.content}}
{{subpj.time}}
猜你喜欢