ubuntu+ros+python3

ros版本说明

image

安装ROS Noetic Ninjemys

本次教程机器使用的docker镜像,版本如下:

image

具体过程

http://wiki.ros.org/cn/noetic/Installation/Ubuntu

问题

安装ros-noetic-ros-base后,然后安装了cv_bridge

from cv_bridge.boost.cv_bridge_boost import cvtColor2

上面导入后报错
ImportError: libGL.so.1: cannot open shared object file: No such file or directory docker容器内问题报错
解决方法:

sudo apt update
sudo apt install libgl1-mesa-glx

lsb-release not found

apt-get update && apt-get install -y lsb-release && apt-get clean all
不论你在什么时候开始,重要的是开始之后就不要停止。 不论你在什么时候结束,重要的是结束之后就不要悔恨。
原文地址:https://www.cnblogs.com/yunhgu/p/15788256.html