ERROR: cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/ma

ROS错误

 sudo rosdep init

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

解决办法

sudo vi /etc/hosts

加一行

199.232.28.133 raw.githubusercontent.com

保存后重新运行sudo rosdep init

猜你喜欢

转载自blog.csdn.net/qq_15698613/article/details/106479166