运行sudo rosdep init出现ERROR: cannot download default sources list from:解决方案
在安装ROS时,初始化rosdep时,出现
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/resolv.conf
出现
在nameserver位置改为
nameserver 8.8.8.8 #google域名服务器
nameserver 8.8.4.4 #google域名服务器
最终解决问题