Linux 下安装Jupyter

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)

相关推荐
Avan_菜菜14 小时前
FRP 内网穿透完整实战:从 HTTP 映射到 HTTPS 自签代理
运维·nginx·https
Sokach10151 天前
Linux Shell 脚本从零到能用:一个新手的一天学习总结
linux
SelectDB2 天前
Litefuse 开源并推出单进程轻量模式,25 秒就能跑起来的 Agent 可观测与评估平台
运维·后端·自动化运维
AlfredZhao2 天前
Docker 容器时区不对,`timedatectl` 不存在怎么办?
linux·timezone
zzzzzz3103 天前
9K Star 炸裂开源!这个 C 语言写的代码知识图谱,把 Linux 内核索引压缩到了 3 分钟
linux·服务器·sql
XIAOHEZIcode3 天前
Linux系统鼠标偏移常见原因以及修复方案
linux·运维·游戏
用户0328472220704 天前
如何搭建本地yum源(上)
运维
A小辣椒5 天前
TShark:Wireshark CLI 功能
linux
A小辣椒5 天前
TShark:基础知识
linux
AlfredZhao5 天前
OCI 明明分配了 200G 系统盘,为什么 df 只看到 30G?
linux·oci