sudo rosdep init ERROR: cannot download default sources list from: https://raw.githubusercontent.com
生活随笔
收集整理的這篇文章主要介紹了
sudo rosdep init ERROR: cannot download default sources list from: https://raw.githubusercontent.com
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
安裝上ros無法進行rosdep init.解決方法如下:https://zhuanlan.zhihu.com/p/77483614
因此,在/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py中頂部直接插入兩行代碼取消SSL驗證
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
一定要吧上面兩句插入到from__future__import print_function.的下面,否則會出錯。
from __future__ import print_function
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
?
?
然后再執行: sudo rosdep init.? 然后在執行? rosdep update.
總結
以上是生活随笔為你收集整理的sudo rosdep init ERROR: cannot download default sources list from: https://raw.githubusercontent.com的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 正点原子STM32F103(精英版)--
- 下一篇: SVN代码回滚命令之---svn up