1.打开anaconda prompt
2.运行jupyter notebook --generate-config
结果:
【Anaconda】更改默认浏览器
3.复制上述文件路径,使用记事本打开

4.找到#c.NotebookApp.browser = ‘’
在下方加入

import webbrowser

webbrowser.register("firefox",None,webbrowser.GenericBrowser(u"D:\\360Downloads\\Mozilla Firefox\\firefox.exe"))

c.NotebookApp.browser = 'firefox'

【Anaconda】更改默认浏览器
即可将默认浏览器更改为firefox浏览器

Attention:浏览器地址为双斜杠"\"

相关文章:

  • 2021-07-14
  • 2021-07-21
  • 2021-05-20
  • 2022-12-23
  • 2021-08-12
  • 2021-10-17
  • 2021-08-07
  • 2022-01-29
猜你喜欢
  • 2021-12-22
  • 2021-05-31
  • 2021-05-23
  • 2021-08-14
  • 2022-01-22
  • 2021-10-25
相关资源
相似解决方案