问题
按照ROS教程学习时,在运行roscore时出现问题
$ roscore
Resource not found: roslaunch
ROS path [0]=/opt/ros/noetic/share/ros
ROS path [1]=/opt/ros/noetic/share
The traceback for the exception was written to the log file
之前按照提示,Command ‘roslaunch’ not found, but can be installed with:sudo apt install python3-roslaunch
$ sudo apt-get install python3-roslaunch
发现没有任何作用
解决办法
应该改为下面的安装即可
$ sudo apt-get install ros-noetic-roslaunch
将noetic换成对应版本