ROS rosdep update更新失败(简单解决)

reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
	 (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:
	 (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml]:
	 (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml]:
	 (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
	Failed to download target platform data for gbpdistro:
	
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
ERROR: error loading sources list:
	 (https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml)>

一直出现更新失败的问题,试着CSDN上的教程去更改ip,尝试各种办法,就是不行,后来同学给我分享一个教程,不到一分钟解决,就是这么简单!!!

安装:

sudo pip install rosdepc

如果显示没有pip可以试试pip3:

sudo pip3 install rosdepc

如果pip3还没有:

sudo apt-get install python3-pip 


sudo pip install rosdepc

使用:

sudo rosdepc init

rosdepc update

出处:本文之后,世上再无rosdep更新失败问题!如果有....小鱼就...

大家如果在学习ROS,可以关注这位博主!!!

ROS rosdep update更新失败(简单解决)_第1张图片

你可能感兴趣的:(ROS,linux)