No module named catkin_pkg.packa

作者: PIBOT导航机器人 | 来源:发表于2017-12-20 10:12 被阅读36次
    • 加了个模块,再次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.packa

        本文链接:https://www.haomeiwen.com/subject/hpgwwxtx.html