安装

在cmd中键入以下内容

  1. pip install --upgrade pip
  2. pip install jupyter

更改启动目录

查看配置文件

  1. (forDA) C:\Users\TheUserName>jupyter notebook --generate-config
  2. Writing default config to: C:\Users\TheUserName\.jupyter\jupyter_notebook_con
  3. fig.py

打开jupyter_notebook_config.py文件
修改以下内容

  1. ## The directory to use for notebooks and kernels.
  2. # c.NotebookApp.notebook_dir = ''

  1. ## The directory to use for notebooks and kernels.
  2. c.NotebookApp.notebook_dir = 'E:\pythonNote'

启动

键入

  1. jupyter notebook

即可