编译ROS出现catkin_pkg错误

错误显示:Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH

方法:输入sudo gedit ~/.bashrc,打开.bashrc文件,在文件末尾加上

export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages

 

你可能感兴趣的:(一些总结,ROS)