ROS-Q&A:sudo rosdep init 命令报错

Q:

sudo rosdep init
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.

A:

step1:通过  https://www.ipaddress.com/ 查询到真实的IP;

ROS-Q&A:sudo rosdep init 命令报错_第1张图片

step2:在 /etc/hosts 文件中添加真实的IP

ROS-Q&A:sudo rosdep init 命令报错_第2张图片

实测有效 

参考网站:http://qjzd.net:3000/topic/5e48cc33dcf06d6a181ffb81

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