在安裝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
還有記得保存!!!