sudo rosdep init ERROR: cannot download default sources list from:解决办法

sudo rosdep init ERROR: cannot download default sources list from:

解决方法:

  1. 进入/etc/hosts文件目录,

 

 

2、进入到hosts 文件:root@ros-vm2:/etc# gedit hosts,在末尾添加151.101.84.133 raw.githubusercontent.com保持后关闭

 

3、在终端输入:sudo rosdep init,结果如下

 

4、执行命令:rosdep update后结果如下

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章