1.在进行sudo rosdep init 前 手动创建/etc/ros/rosdep/sources.list.d文件夹
2.打开桌面终端,输入:
sudo gedit /etc/hosts
3.在打开的文件中添加一行:151.101.108.133 https://ghproxy.com/https://raw.githubusercontent.com 如下图所示
4.最后在终端运行
sudo rosdep init
rosdep update
2024-04-07 20:34:09
1.在进行sudo rosdep init 前 手动创建/etc/ros/rosdep/sources.list.d文件夹
2.打开桌面终端,输入:
sudo gedit /etc/hosts
3.在打开的文件中添加一行:151.101.108.133 https://ghproxy.com/https://raw.githubusercontent.com 如下图所示
4.最后在终端运行
sudo rosdep init
rosdep update