下载
pip install jupyter
进入jupyter note book :
jupyter notebook
更改jupyter notebook 默认打开文件夹路径
- jupyter notebook --generate-config :找到默认路径并进入
-
打开上一步生成的配置文件:
C:\Users\pubxtga017\.jupyter\jupyter_notebook_config.py
实际上,C:\Users\pubxtga017\就是Jupyter notebook的默认路径
-
在jupyter_notebook_config.py中找到并修改如下配置项:
修改前: #c.NotebookApp.notebook_dir = ''
删除前面的 # 号,在后面的单引号里输入要设置的目录路径,保存关闭。
我的修改: c.NotebookApp.notebook_dir = 'E:\\Liuyi\\jupyter'