admin 管理员组

文章数量: 1103785

在安装anaconda的过程中,部分用户可能会遇到,打开Jupyter Notebook的时候,不会弹出默认浏览器。本章教程给出解决办法。

一、生成一个jupyter默认配置文件

打开cmd,运行以下命令,会生成一个jupyter_notebook配置文件。

jupyter notebook --generate-config

二、编辑jupyter_notebook_config.py文件

1、使用Edge浏览器打开

import webbrowser
webbrowser.register

本文标签: 浏览器 jupyter Notebook