1、在终端中输入sudo gedit /etc/hosts 2、文末添加199.232.28.133 raw.githubusercontent.com,保存退出 3、在输入sudo rosdep init 搞定