Jupyter 安装和使用

安装Jupyter

使用pip工具进行安装,在命令提示窗口输入命令如下:

pip install jupyter notebook

使用Jupyter

在命令提示窗口输入如下命令,启动浏览器页面:

jupyter notebook

修改jupyter的工作路径/存储路径

由于默认工作路径在C盘,因此要修改jupyter工作路径到其他盘。

在命令提示窗口输入如下命令,查看配置文件路径:

jupyter notebook --generate-config

Jupyter 安装和使用_第1张图片

 在该文件中添加工作路径的配置,如下:

c.NotebookApp.notebook_dir='D:\jupyter'

重新启动:

jupyter notebook

你可能感兴趣的:(python,jupyter,python,ide)