ubuntu20.04 安装 ROS Noetic后,执行 catkin init
报错显示无法找到 ‘osrf-pycommon>0.1.1’ Python 包,如下图:
错误信息表明系统中缺少’osrf-pycommon’这个包,或者安装的版本低于所需的 0.1.1 版本。
‘osrf-pycommon’ 是由 Open Source Robotics Foundation (OSRF) 开发的一个通用 Python 库,是 ROS 工具链中的一个重要组件。
可通过apt方式安装:
sudo apt install python3-osrf-pycommon
安装完成后,尝试再次运行 catkin init
命令,就可以通过了。