Anaconda下安装配置Jupyter

Anaconda下安装配置Jupyter

1、安装

conda activate my_env	#激活虚拟环境
pip install jupyter	#安装
jupyter notebook --generate-config	#生成配置文件

提示配置文件的位置:


Writing default config to: /root/.jupyter/jupyter_notebook_config.py

检查版本:

# jupyter --version
Selected Jupyter core packages...
IPython          : 8.12.3
ipykernel        : 6.29.5
ipywidgets       : 8.1.3
jupyter_client   : 8.6.2
jupyter_core     : 5.7.2
jupyter_server   : 2.14.2
jupyterlab       : 4.2.4
nbclient         : 0.10.0
nbconvert        : 7.16.4
nbformat         : 5.10.4
notebook         : 7.2.1
qtconsole        : 5.5.2
traitlets        : 5.14.3

2、配置

(1)修改配置参数

打开jupyter 的配置文件 ,修改以下配置内容:

c.ServerApp.notebook_dir = ‘/root/jupytercode’# 配置程序代码路
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值