ros安装过程中出现的rosdep init ERROR :cannot download default sources list from :解决办法

问题原因:raw.githubusercontent.com网站不能访问,需要修改hosts文件,添加新网站的ip地址

1.打开终端,输入gedit /etc/hosts。

2.在打开的文本最后添加:199.232.28.133 raw.githubusercontent.com。

3.保存并退出,在终端中输入:sudo rosdep init。

4.然后再输入:rosdep update。

 

posted @ 2020-07-15 17:56  小路_fan  阅读(1707)  评论(0编辑  收藏  举报