安装ROS时,出现以下错误。
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.
解决办法:
- 执行以下命令:
cd /etc
sudo gedit hosts
- 在文末添加:
151.101.84.133 raw.githubusercontent.com