码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-07-15 23:33:12      阅读:239      评论:0      收藏:0      [点我收藏+]

标签:ros   github   error   输入   not   list   can   def   source   

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

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

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

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

4.然后再输入:rosdep update。

 

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

标签:ros   github   error   输入   not   list   can   def   source   

原文地址:https://www.cnblogs.com/xiaolu-fan/p/13307032.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!