sudo rosdep init ERROR: cannot download default sources list from:

在ubuntu 16.04上安装ros kinetic,在执行以下命令时

$ sudo rosdep init
$ rosdep update

出现以下错误:

ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.
 

完美解决方案

从已经安装好ros的电脑中复制 .ros/中的rosdep文件夹到本地的home目录的.ros/(需要自己新建),然后重新上述步骤即可

你可能感兴趣的:(ros,linux,ubuntu)