Linux 下安装Jupyter

本文详细指导如何在Linux系统中通过pip3安装JupyterLab及其依赖,包括Python3、IPython,以及设置安全的JupyterNotebook密码和配置文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

pip3 install jupyter
pip3 install ipython

--------------------------------------------

pip3 install jupyterlab

jupyter lab
 

pip3 list | grep jupyterlab

启动:

python3 -m jupyter lab

2.安装朱皮特
pip3 install -i https://pypi.douban.com/simple  jupyter

3.进入ipython环境,给jupyter设置密码
ipython  #进入ipython的交互式界面

from IPython.lib import passwd

passwd()#生成jupyter登录的密码

4.生成jupter的的配置文件
jupyter notebook --generate-config --allow-root

vim ~/.jupyter/jupyter_notebook_config.py

修改如下配置一致即可,去掉注释符  #  才能读取代码

 c.NotebookApp.ip = '建议写当前linux机器的ip地址'
 c.NotebookApp.open_browser = False
 c.NotebookApp.port = 8000

输入密码

参考:linux安装python3 ,安装IPython ,安装jupyter notebook - 码农公寓 (553668.com)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值