赞
踩
主要想说
按照这篇文章:https://zhuanlan.zhihu.com/p/77483614
没有这个结果:
- rosdep update
- reading in sources list data from /etc/ros/rosdep/sources.list.d
- Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
- Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
- Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
- Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
- Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
- Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
- Skip end-of-life distro "ardent"
- Skip end-of-life distro "bouncy"
- Add distro "crystal"
- Add distro "dashing"
- Add distro "eloquent"
- Skip end-of-life distro "groovy"
- Skip end-of-life distro "hydro"
- Skip end-of-life distro "indigo"
- Skip end-of-life distro "jade"
- Add distro "kinetic"
- Skip end-of-life distro "lunar"
- Add distro "melodic"
- Add distro "noetic"
- updated cache in /home/eco/.ros/rosdep/sources.cache

然后看到一位博主说执行:(博客实在找不到了,弄完回过头来找了半天都没搞定)
[可能还有其他步骤吧]
sed -i "s/raw.githubusercontent.com/raw.ctl.app/g" /usr/lib/python2.7/dist-packages/rosdistro/__init__.py
sed -i "s/raw.githubusercontent.com/raw.ctl.app/g" /usr/lib/python2.7/dist-packages/rosdistro/manifest_provider/github.py
sed -i "s/raw.githubusercontent.com/raw.ctl.app/g" /usr/lib/python2.7/dist-packages/rosdep2/rep3.py
sed -i "s/raw.githubusercontent.com/raw.ctl.app/g" /usr/lib/python2.7/dist-packages/rosdep2/gbpdistro_support.py
执行了一下,后来虽然一开始也是错误但是最后也成功了
实在找不到原博客了,哪位大佬找到了记得告诉我
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。