< >
Home » TX2入门教程软件篇 » TX2入门教程软件篇-安装Jupyter-ROS

TX2入门教程软件篇-安装Jupyter-ROS

TX2入门教程软件篇-安装Jupyter-ROS

说明:

  • 介绍如何在TX2安装Jupyter-ROS
  • 测试环境:jetpack3.3

pip3安装:

pip install bqplot pyyaml ipywidgets --user
jupyter nbextension enable --py widgetsnbextension
  • 安装jupyros
pip install jupyros --user
jupyter nbextension enable --py jupyros
jupyter labextension install jupyter-ros
  • 如果出现不能安装,可能pip安装默认nodejs版本太低,需要升级nodejs为最新版本

源码安装:

  • 安装
git clone https://github.com/wolfv/jupyter-ros.git
cd jupyter-ros
pip install -e .
jupyter nbextension install --py --symlink --sys-prefix jupyros
jupyter nbextension enable --py --sys-prefix jupyros

测试:

  • 设置密码
$ jupyter notebook password 
/home/ubuntu/.local/lib/python3.5/site-packages/notebook/services/kernels/kernelmanager.py:19: VisibleDeprecationWarning: zmq.eventloop.minitornado is deprecated in pyzmq 14.0 and will be removed.
Install tornado itself to use zmq with the tornado IOLoop.

from jupyter_client.session import Session
Enter password: 
Verify password: 
[NotebookPasswordApp] Wrote hashed password to /home/ubuntu/.jupyter/jupyter_notebook_config.json
  • 启动:
$ jupyter-lab 
  • 访问:
http://localhost:8888

参考:

  • https://ipywidgets.readthedocs.io/en/latest/user_install.html
  • https://github.com/RoboStack/jupyter-ros
  • https://github.com/bloomberg/bqplot

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: tx2入门教程软件篇