树莓派jupyter_树莓派上的Jupyter Lab

本文介绍了如何在树莓派上设置并使用Jupyter Lab,详细步骤包括安装和配置过程,让读者能够在这款小巧的计算机上进行便捷的数据分析和编程工作。
摘要由CSDN通过智能技术生成

树莓派jupyter

Jupyter notebooks and jupyter labs are preferred workbenches for many data science projects. For IoT projects, it’s always not possible to connect to the Raspberry PI desktop to access the notebooks. We can access Raspberry PI via console using SSH but for some applications especially for the Computer Vision, we still need some graphical user interface.In this article, I wish to share some of the techniques I found to run the Jupyterlab on a raspberry PI and access it from a remote machine.

对于许多数据科学项目, J笔记本和Jupyter实验室是首选的工作台。 对于物联网项目,始终无法连接到Raspberry PI桌面来访问笔记本。 我们可以使用SSH通过控制台访问Raspberry PI,但对于某些应用程序(尤其是Computer Vision),我们仍然需要一些图形用户界面。在本文中,我希望分享一些我发现的在树莓派PI上运行Jupyterlab的技术。从远程计算机访问它。

安装Jupyter Lab (Install Jupyter Lab)

Connect to your Raspberry PI using SSH. Install all the dependencies. We will use pip3 to install jupyter lab later.

使用SSH连接到您的Raspberry PI。 安装所有依赖项。 稍后我们将使用pip3安装jupyter lab。

$ sudo apt-get update
$ sudo apt-get install python3-pip
$ sudo pip3 install setuptools
$ sudo apt install libffi-dev
$ sudo pip3 install cffi

Install jupyter using pip3. If you are using virtualenv then follow the instructions from the jupyter documentation here.

使用pip3安装jupyter。 如果您使用的是virtualenv,请按照此处的jupyter文档中的说明进行操作。

$ pip3 install jupyterlab

Create a directory for your notebooks and start jupyter lab (optional)

为您的笔记本创建目录并启动jupyter lab(可选)

$ mkdir notebooks
$ jupyter lab --notebook-dir=~/notebooks

Alternately you can also start the jupyterlab from any direc

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值