No module named catkin_pkg.package

  • 加了个模块,再次catkin_make报错

ImportError: "from catkin_pkg.package import parse_package" failed: No module named catkin_pkg.package
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.

  • 解决方法
cd /
pip install catkin_pkg

切换到根目录是必须的

  • 继续报错可能还需要安装rospkg
cd /
pip install rospkg

你可能感兴趣的:(No module named catkin_pkg.package)