使用Jupyter notebook的简单说明

第一部分 在windows10下使用Jupyter notebook

1、安装Anaconda

进入如下网址,下载安装,并进行源配置

https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/

2、简单配置

A.设置默认目录

在cmd中输入jupyter notebook --generate-config

进入用户目录,看到文件 ~/.jupter/jupyter_notebook_config.py,使用文本编辑器打开。找到c.NotebookApp.notebook_dir=' '行,将默认目录写入,注意需将'\'更换为'\\'

再将执行jupyter notebook --generate-config并在提问选择时选择N

猜你喜欢

转载自www.cnblogs.com/eric20180814/p/9689584.html