python jupyter notebook下载_【python】jupyter notebook 安装 和简单配置、使用

本文详细介绍了如何安装Python的Jupyter Notebook,包括使用pip安装,配置工作空间,以及启动、查看和停止notebook服务的步骤。此外,还提到了在Windows系统下在后台运行Notebook的方法。
摘要由CSDN通过智能技术生成

1. 介绍

2. 安装

pip install jupyter

3. 配置

更改workspace

notebook默认把启动时的当前路径作为默认的工作空间(workspace),也可以自定义。

REM step1 查看jupyter配置文件的位置

C:\WINDOWS\system32>jupyter notebook --generate-config

Writing default config to: C:\Users\Artchy\.jupyter\jupyter_notebook_config.py (Linux路径则是 ~/.jupyter\jupyter_notebook_config.py)

REM step2 设置 c.NotebookApp.notebook_dir配置项,即工作空间路径

REM step3 重启 notebook

4. 简单使用(控制台命令)

(1) 启动

其它几个常用的启动选项(详情使用jupyter notebook -h查看)

jupyter notebook # 全部使用默认

jupyter notebook [--ip 192.168.1.2] [--port 8888] [--autoreload] [--no-browser] [--debug] [--log-level 'INFO']

C:\WINDOWS\system32>jupyter notebook --port 8888

[I 20:26:47.156 NotebookApp] Serving notebooks from local directory: E:\jupyter-workspace

[I 20:26:47.156 NotebookApp] Jupyter Notebook

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值