2、catkin_pkg路径有时不在Python路径,解决方法: (1)python -c "import catkin_pkg; print(catkin_pkg.__file__)" 打印catkin_pkg路径 (2)export PYTHONPATH="$PYTHONPATH:/path/to/env/lib/pythonx.x/site-packages" 添加路径3、需要安装rospkg包及其依赖 pip install catkin-tools rospkg pyyaml empy n...