在安装ROS进行到sudo rosdep init,运行此指令会出现以下error:
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.
解决方法也很简单:
sudo gedit /etc/hosts
打开文件后,在末尾添加如下即可:
151.101.84.133 raw.githubusercontent.com
还有记得保存!!!