1. 程式人生 > >pip安裝jupyter

pip安裝jupyter

安裝

在cmd中鍵入以下內容

pip install --upgrade pip

pip install jupyter

更改啟動目錄

檢視配置檔案

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

開啟upyter_notebook_config.py檔案
修改以下內容

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

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

啟動

鍵入

jupyter notebook

即可