Ubuntu 16.04 安装ROS sudo rosdep init报错问题
解决博文:https://blog.csdn.net/weixin_37835458/article/details/79878785
输入sudo rosdep init报错如下:
Traceback (most recent call last):
File "/usr/bin/rosdep", line 3, in <module>
from rosdep2.main import rosdep_main
ImportError: No module named 'rosdep2'
解决:
方案1:将Ubuntu默认python版本设置为2.7
方案2:输入命令 sudo apt-get install python3-rosdep