一
sudo gedit /usr/lib/python2.7/dist-packages/rosdep2/sources_list.py
在函数download_rosdep_data的开始部分添加:url="https://ghproxy.com/"+url
二
在以下脚本中,修改所有的https://raw.githubusercontent.com为https://ghproxy.com/https://raw.githubusercontent.com
/usr/lib/python2.7/dist-packages/rosdistro/__init__.py
/usr/lib/python2.7/dist-packages/rosdep2/gbpdistro_support.py
/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py
/usr/lib/python2.7/dist-packages/rosdep2/rep3.py
/usr/lib/python2.7/dist-packages/rosdistro/manifest_provider/github.py
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)