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)

相关推荐
Full Stack Developme2 分钟前
Linux 多种压缩格式,优缺点和适用场景
linux·运维·服务器
旖旎夜光5 分钟前
Linux(4)(下)
linux·学习
yBmZlQzJ4 小时前
财运到内网穿透域名解析技术机制与中立评估
运维·经验分享·docker·容器·1024程序员节
Shanxun Liao4 小时前
Cenots 7.9 配置多台 SSH 互信登陆免密码
linux·运维·ssh
j_xxx404_4 小时前
Linux:第一个程序--进度条|区分回车与换行|行缓冲区|进度条代码两个版本|代码测试与优化
linux·运维·服务器
一点晖光5 小时前
jenkins优化记录
运维·jenkins
looking_for__5 小时前
【Linux】Ext系列文件系统
linux
最贪吃的虎6 小时前
Git: rebase vs merge
java·运维·git·后端·mysql
OliverH-yishuihan6 小时前
开发linux项目-在 Windows 上 基于“适用于 Linux 的 Windows 子系统(WSL)”
linux·c++·windows
yBmZlQzJ6 小时前
内网穿透工具通过端口转发实现内外网通信
运维·经验分享·docker·容器·1024程序员节