重启JupyterNotebook,默认目录就修改了。 二、修改默认浏览器 1、还是在用NotePad++打开的“jupyter_notebook_config.py”文件中,找到76行“#c.NotebookApp.browser = ''” 2、在其下面添加语句: import webbrowser webbrowser.register("chrome", None, webbrowser.GenericBrowser(u"C:\\Program Files (x86)\...
jupyter notebook --generate-config 未安装Anaconda, Jupyter 安装目录下新建配置文件jupyter_notebook_config.py 已在浏览器打开过 Jupyter 右单击 Chrome 图标,打开属性,复制目标(高亮位置)的值,也就是Chrome浏览器安装位置 chrome安装位置 找到Jupyter 的安装目录下的打开配置文件jupyter_notebook_config.py 记得安装...
1.找到jupyter notebook的配置文件jupyter_notebook_config.py 以管理员身份打开cmd,执行以下命令: jupyter notebook --generate-config jupyter notebook 配置文件 2.以记事本方式打开以上文件,Ctrl + F 搜索 c.NotebookApp.browser,如下图: jupyter notebook配置文件内容 3.获取Chrome安装位置 chrome浏览器安装位置...
jupyter notebook--generate-config 配置文件路径 来到对应的路径下我们就看到了配置文件,然后右键用记事本打开。利用Ctrl+F快捷键调出查找框查找c.NotebookApp.browser,找到对应位置。 配置文件 查找 3.获取Chrome安装位置 右键已经安装好的Chrome浏览器的桌面图标,然后选择属性,即可获取到Chrome的安装位置。下面红框框住...
jupyter notebook 的默认起始位置和默认浏览器修改 打不开浏览器/时间很久的解决办法: 当第一次点luanch的时候会出现无法弹出浏览器的情况,需要打开目录C:\Users\Administrator\.jupyter 也可以通过如下命令查找 (base) C:\Users\Administrator>jupyter notebook --generate-configWritingdefaultconfig to: C:\Users\...
# 修改默认目录 c.NotebookApp.notebook_dir = 'D:/Other_pyfile' # 修改默认浏览器 import webbrowser webbrowser_path = "C:/Users/hhj/AppData/Local/Google/Chrome/Application/chrome.exe" webbrowser.register('chrome', None, webbrowser.GenericBrowser(webbrowser_path)) ...
(1)如何使得jupyter notebook的默认打开浏览器为chrome? Step1:打开文件 jupyter_notebook_config.py (C:\Users\Administrator\.jupyter 中) Step2:找到 # c.NotebookApp.browser = ''' Step3:在找到的那条记录(貌似在73行)下方添加: import webbrowser web...
为了修改Jupyter Notebook的默认浏览器,你可以按照以下步骤进行操作: 确认当前Jupyter Notebook的配置文件位置: Jupyter Notebook的配置文件通常位于用户的主目录下的.jupyter文件夹中,文件名为jupyter_notebook_config.py。你可以使用以下命令来找到该文件的路径: bash jupyter notebook --config-dir 这个命令会输出配...
1.jupyter notebook --generate-config 2.修改jupyter_notebook_config.py配置文件 3.修改默认路径: 代码语言:javascript 复制 c.NotebookApp.notebook_dir='E:\DataAnalysis' 4.修改默认浏览器: 代码语言:javascript 复制 importwebbrowser webbrowser.register("chrome",None,webbrowser.GenericBrowser(u"C:\\Pro...